Appendix C — Remapping the CN2A Keypad
140
CN2A Mobile Computer User’s Manual
The CN2A remappable keypads support two meta keys (the
Orange
key and the Green
key) as well as three scan
buttons.
To accomplish this, Intermec extended the Microsoft virtual key
(VK) code convention. Standard VK codes are less than 0x100,
and the new VK codes are greater than 0xff.
These codes can be used when mapping the keypad to assign
these functions to a key or combination of keys.
Key mapping entries are 16-bit (WORD) sized (or multiples
thereof ), and other keypad attributes are 32-bit (DWORD)
sized.
Understanding Keypad Attributes
The keypad attributes are as follows.
• "OrangeObeyClear" = dword:0
• "OrangeOneShot" = dword:1
• "GreenObeyClear" = dword:0
F2
Fkeycode4
R
Fkeycode5
ENTER
Fkeycode6
Left Side Scan
Fkeycode9
Right Side Scan
Fkeycode10
Scroll Keypad Keys (continued)
Key
Registry Key
Meta Keys and Scan Buttons
Registry Entry
VK Code
Description
#define VK_SCAN1
0x100
Left Side Scan
#define VK_SCAN2
0x101
Right Side Scan
#define VK_SCAN3
0x102
Middle Scan (on the scroll
keypad only)
#define VK_ORANGE
0x104
Orange
key
#define VK_ALPHA
0x105
Green
key
Summary of Contents for CN2A
Page 1: ...User s Manual CN2A Mobile Computer ...
Page 4: ...iv CN2A Mobile Computer User s Manual ...
Page 10: ...Contents x CN2A Mobile Computer User s Manual ...
Page 16: ...Before You Begin xvi CN2A Mobile Computer User s Manual ...
Page 112: ...Chapter 4 Developing and Installing Applications 96 CN2A Mobile Computer User s Manual ...
Page 148: ...Appendix A Specifications and Accessories 132 CN2A Mobile Computer User s Manual ...
Page 161: ...CN2A Mobile Computer User s Manual 145 I Index ...
Page 173: ......