This tool is for mobile computers to fill keyboard buffer with data from a serial port. This is often needed to get serial port connected barcode scanner’s data into applications if there is no other way.
[Content transfered from http://hjgode.de/dev/keywedge]
This is a simple keywedge program. It takes serial input and simulates keystrokes with the chars received. It has been done, as the ITC(1) CN3 does not support a serial wedge but the vehicle dock has a serial port where you can connect a cabled serial barcode scanner. Similar commercial applications are ceLinq and TWedgeCE.
Just copy the exe onto your device and you are done. You can also prepare a CAB file yourself and pre-configure the options. KeyWedge uses the following settings from the registry.
The registry options
REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\HGO\KeyWedge] "parity"=dword:00000000 ; 0 NOPARITY ; 1 ODDPARITY ; 2 EVENPARITY ; 3 MARKPARITY ; 3 SPACEPARITY "stopbits"=dword:00000000 ; 0 ONESTOPBIT ; 1 ONE5STOPBITS ; 2 TWOSTOPBITS "databits"=dword:00000008 ; 7 ; 8 ; 16 "handshake"=dword:00000003 ; 1 Xon/Xoff ; 2 Hardware ; 3 None "baudrate"=dword:0000e100 ; 9600 ; 19200 ; 38400 ; 57600 ; 115200 "comport"="COM4:" ; string with trailing : "sendcharbychar"=dword:00000000 ; 1 send byte for byte as received ; 0 send keys when \n received
Download reg file: DOWNLOAD:KeyWedge Sample Registry File - (Hits: 3329, size: 581 bytes)
Just tap the exe with file explorer or place a link in \Windows\Programs and tap the symbol then in Start-Programs. As started. keywedge will not show a normal window, just an icon on the today screen. If you like KeyWedge to start with every boot, place a shortcut into the \Windows\StartUp folder.
As long as KeyWedge has a connection to the serial port, it will show a green icon on the today screen.
As long as the application window is open and you are setting the options, KeyWedge suspends the communication and will show a yellow icon on the today screen!
If the icon on the today screen is showing red, then keywedge is unable to connect to the serial port.
To configure keywedge, tap the sysmbol on the today screen. You will get a message box.
Tap [No] to get access to the keywedge window.
If you select [Yes], keywedge exits and stops running.
If you select [Cancel] the window is closed and keywedge resumes its communication thread.
In keywedge window select File-Options to get access to the options dialog. Here you can type the communication port to be used and specify the communication parameters.
If you activate ‘Send Char by Char’, keywedge will send every char received by the comm port immediately as keytrokes.
If ‘Send Char by Char’ is deactivated, keywedge sends the chars received via the comm port as soon as it encounters a \n char (a newline char) or when the buffer limit is reached (actually 1000 bytes),
When you are done setting your options, tap [OK] in the options dialog. The settings will be shown in a message box and saved in the registry. Tap again (OK) to close the message box.
If you don’t like to change the settings, tap [Cancel] in the options dialog. The settings will then not been changed.
To resume the comm thread and to have KeyWegde doing its work, you have to select File-Hide.
As long as the KeyWedge window is not hidden, KeyWedge will NOT do any comm work!
If you like to end KeyWedge, select File-Exit.
Changed the background threads so you should be able to let the tool AutoStart. Removed obsolete msgbox.
Download executable only: DOWNLOAD:KeyWedge ARMv4i - The KeyWedge executable for ArmV4i (thumb) compatible Windows Mobile devices (Hits: 1110, size: 48.99 KB)
Download Source code: DOWNLOAD:KeyWedge Embedded Visual C 4 Source Code - (Hits: 1120, size: 231.93 KB)
(1) ITC is