Programming The Keypad - Intermec CK61 User Manual

Mobile computer with windows mobile
Hide thumbs Also See for CK61:
Table of Contents

Advertisement

Programming the Keypad

CK61 Mobile Computer with Windows Mobile User's Manual
HKLM\HARDWARE\DEVICEMAP\KEYBD\xxxx\Vkey (Normal)
HKLM\HARDWARE\DEVICEMAP\KEYBD\xxxx\VkeyGold (Orange)
HKLM\HARDWARE\DEVICEMAP\KEYBD\xxxx\VkeyAlpha (Green)
Where xxxx is a four-digit keypad ID which identifies the type of keypad
on your CK61.
These are the registry entries (which are arrays of 128 WORDs) you need
to modify to remap your keypad.
Do the following to change a single key on the CK61 keypad. You can
change more than one key, if desired.
1 Identify your keypad
Read the four bytes of text stored in the registry entry. For this example,
this value is referred to as <KPID>.
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\KEYPAD\ActiveConfig
2 Read the shift plane mapping
Read each of these key values into a WORD array of size 128. Note that
not all keypads have entries for VkeyGold and VkeyAlpha.
HKLM\HARDWARE\DEVICEMAP\KEYBD\<KPID>\Vkey (Normal)
HKLM\HARDWARE\DEVICEMAP\KEYBD\<KPID>\VkeyGold (Orange)
HKLM\HARDWARE\DEVICEMAP\KEYBD\<KPID>\VkeyAlpha (Green)
3 Modify the shift plane mapping
Write the desired virtual key value to the scan code offset of the desired
shift plane.
You can use the scan code diagrams below and on the next page to find
the scan code for the keys you want to remap.
Note: Scan code 00h is the left scan trigger, scan code 10h is the right
scan trigger, and all values are hexadecimal.
4 Save the modified shift plane mappings
Write the registry values back.
5 Signal the keypad to reload
Open the "ITC_KEYBOARD_CHANGE" named event and call
SetEvent() to signal the keypad to reload.
Chapter 3 — Configuring the Computer
95

Advertisement

Table of Contents
loading

Table of Contents