Intermec cn2a User Guide

Page of 174
Chapter C — Remapping the CN2A Keypad
CN2A Mobile Computer User’s Manual
141
• "GreenOneShot" = dword:0
• "MultimapTimeout" = dword:258
When you press the Orange 
 key or Green 
 key, a timer 
starts and will turn Orange or Green mode off after three 
seconds. To force Orange or Green mode to stay active after the 
timer has expired (which is also called “locking” the mode) you 
must set *ObeyClear to 0. 
When you press a key in Orange or Green mode, the orange or 
green function for that key is produced and Orange or Green 
mode is turned off. To force Orange or Green mode to stay active 
after a key has been pressed (which is also called “locking” the 
mode) you must set *OneShot to 0. 
Creating Multiple Key Definitions
In the case of multiple key definitions, the first byte is the 
number of possible keys (in words) that the physical key can cycle 
between. The second byte must be 0x80 (this is what makes it a 
multi-key definition). The values following should be two bytes 
for each possible key. 
Multiple key definitions can also be used for FkeyCode and 
FkeyMeta mappings. In multi-key mode, only one VK code can 
be emitted by the key.
MultimapTimeout is the number of milliseconds you have to 
press the key again before the current selection is emitted. The 
default is 258, which equals 600ms (0.6 seconds). 
To understand MultimapTimeout, consider the numeric keypad. 
When you press the Green 
 key and the 2 key, you have 
selected the “a” character. You have 0.6 seconds to press the 2 key 
again for “b.” If you do not press a key within 0.6 seconds, the “a” 
is emitted. If you press another key within 0.6 seconds, the 
timeout is cancelled, the “a” is emitted, and you have 0.6 seconds 
to press the second key again to select a different letter.
Note: For a description of MultimapTimeout, see the next 
section, “Creating Multiple Key Definitions.”