Author |
Topic |
|
ctacke
877 Posts |
Posted - 19 Sep 2002 : 14:42:37
|
SerialKey.exe
SerialKey allows you to simulate a device keyboard through a serial connection application, such as Hyperteminal. This allows you to type and navigate the device using your PC's keyboard as well as control the pointer (mouse) including drag and drop.
SerialKey can be extremely useful if your device has a defective touchscreen, has bad calibration data or any time when you need manipulate a device with a display. Simply connect your system to your PC with Hyperterminal, put SerialKey in a folder called StartUp on an ATA card, insert the card in you system and reboot.
Notes:- SerialKey will connect on COM1: at 38400,8,N,1 by default. You can use a different port by passing an alternate port as a command line parameter, i.e.:
SerialKey.exe COM3: To modify other connection settings, you must modify and recompile the source.
- F1-F4 have special functionality. SerialKey will present a menu through the serial connection at startup for these keys.
- Not all keyboard keys have been mapped and modification of the source may be necessary for some applications
| Key APIs Used CreateMutex CreateEvent WriteFile ReadFile SetCommTimeouts GetCommState SetCommState GetCommMask SetCommMask WaitCommEvent mouse_event keybd_event TrackPopupMenuEx Shell_NotifyIcon
Lines of Code: 590
|
Source Download Rev. 2 - Mar 12, 03 (14k zip)
modified March 31, 03 (ctacke) - added key APIs and LOC Modified Mar 12, 03 - Added rev 2 feature description (cbt) |
|
ctacke
877 Posts |
Posted - 12 Mar 2003 : 13:54:17
|
Feature Update
We've added two new features:
- Keyboard to mouse simulation
Now F4 toggles keyboard-to-mouse mode. When set, this mode translates keyboard cursor keys onto mouse movements on the device. The Return key is translated to a click. Ctrl-Return translates to alternating pen-down and pen-up, allowing drag and drop functionality. If you use the mouse functionality, you may want to turn on the mouse cursor, which is done with an ADSLOAD.HWT setting.
- Options Dialog
Tapping the SerialKey icon in the system try will present a menu from which you can display the application options. You can adjust the port on which SerialKey connects, adjust the keyboard-to-mouse sensitivity and view all incoming raw keyboard data
|
|
|
|
Topic |
|
|
|