EasyManua.ls Logo

Intermec CK61 - Reprogramming the CK61 Keypad; Implementation; Registry Entries

Intermec CK61
190 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3 — Configuring the Computer
94 CK61 Mobile Computer with Windows Mobile User’s Manual
where:
Reprogramming the CK61 Keypad
This section covers basic keypad remapping changes for the CK61, to
redefine basic virtual key values generated by the CK61 keypad. More
advanced options such as multi-keys and named events are not covered
here. For advanced options, see the Keyboard Remapper API in the Device
Resource Kit.
Implementation
The CK61 keypad virtual key mappings are controlled by registry entries,
which are read each time the keypad driver loads. You can “remap” the
keypad after it has loaded by modifying the registry entries and then
sending a signal to the keypad driver to re-read the registry mappings.
The keypad driver uses the scan code values returned by the keypad device
as an index into these registry entries to determine the virtual key value sent
to the system.
Registry Entries
There are three main “shift plane” registry entries which map the keypad
device scancodes to the windows virtual key values. Each registry entry is an
array of 128 WORDs (2 byte unsigned int, little endian). Since scan codes
generated by the keypad device can range in value from 0x00 to 0x7f, the
driver uses the generated scan code value as an index into one of the shift
plane entries to determine the virtual key value sent up to the system.
The shift plane registry entry used is determined by the current state of the
Orange and Green keys. If the Orange key is held down, then the “Orange
shift plane” array is used. If the Green key is held down, then the “Green
shift plane” array is used. If neither Orange nor Green key is held down,
then the “Normal, unshifted plane” array is used.
The name of the three registry entries that define the Normal, Orange, and
Green shift planes are as follows:
transaction
header
A 96-byte field with message number, date, time, source application ID,
destinations application ID, transaction ID, and other information. Set the
system message (SYS$MSG) flag to E in the transaction header.
TMF field A 2-byte field containing one of these values:
CG Configuration Get request sent from the host application.
Cg Configuration Get response sent from the CK61 to the host computer.
CS Configuration Set request sent from the host application.
Cs Configuration Set response sent from CK61 to host computer
commands The reader and configuration commands to set on the CK61 or the current
value to retrieve from the CK61. To save configuration changes in flash
memory, send the .+1 reader command as the last command. See the
Command Reference Manual for supported commands.

Table of Contents

Other manuals for Intermec CK61

Related product manuals