Device Keyboard Wedge - Parceltools C190 CubetapePRO Technical Manual

+cradle
Table of Contents

Advertisement

4.

4.6.5 Device Keyboard Wedge

The Device Keyboard Wedge provides a method to use the Cubetape device with existing
software by passing through received data as Keyboard input. This allows you to use the
Cubetape device even if you can't modify an existing application to use the Cubetape
SDK. The CubetapeWedge.cab file installs the wedge to the device and it will load
whenever the device is soft-reset.
The keyboard output is defined by the contents of a registry key, which contains a
mask for the generated keystrokes.
The default behavior is:
"ID = {id}, PC = {pc}, LL = {ll}, WW = {ww}, HH = {hh}, UN = {un}, {ENTER}"
• The two letter codes in curly braces are replaced with the values of those specific fields.
• {ENTER} is a constant which defines the keyboard Return/Enter key.
• The string interprets special constants like the System.Windows.Forms.SendKeys.
Send.NET method.
Therefore the following special keys are supported:
• {TAB} = Tab
• {PGUP}, {PGDN} = Page Up / Page Down
• {LEFT}, {RIGHT}, {UP}, {DOWN} = keyboard arrow keys
These special characters must be escaped in curly brackets: + ^ % { } [ ] ~
• For example: "{ [ }"
So to send the record contents with no headers and a tab control between each field
the mask should be set to:
"{id} {TAB} {pc } {TAB} {ll} {TAB} {ww} {TAB} {hh} {TAB} {un} {ENTER}"
The value is stored in the Registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Cubetape
and
Technical manual-C190CubetapePRO
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents