Intermec cn2a User Guide

Page of 174
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