Key Maps 187
E-EQ-MX3RFIDRG-A MX3-RFID Reference Guide
• Third and finally, the KEYCOMP.REG file is written out in the format required by the
REGLOAD utility on the Windows CE device.
Programmable Scan Buttons and Custom Key Mapping
The Left and Right Scan buttons can be reset using Custom Key Mapping. Custom keymapping
changes the placement of the buttons (e.g., F1 can now be Scan Left).
The keycode that the Scan Left (or F1) button generates is then determined by the setting in the
scanner control panel (See Chapter 4 “System Configuration”, Control Panel”, “Scanner”).
Remapping does not allow multiple entries. If the System Administrator uses Custom Key
Mapping set a Scan button to ENTER, the original ENTER key must be redefined to something
else. However, if the scanner control panel is used to change the Scan button to generate an
ENTER, the original ENTER key is maintained as well.
Note: Tethered scanners are not activated/affected by the Scan buttons on the mobile device.
Keymap Source Format
The source file DEFAULT.KEY is supplied with the keymap compiler. This is the commented
source for the default keymap 0409. The comments in this file should make the majority of this
document redundant. There is a copy of this file at the end of this section, in “Sample Input File”.
This section should be read while referring to this sample source, for simplicity.
Note: You must change the name of the default key map from 0409 to some other number (i.e.
0509). To do this, change line #13 “MAPNAME=0409” to “MAPNAME=0509”.
It is an important limitation that the keymap must have a 4, 5, or 6 digit numeric name; this is a
limit of the Microsoft Windows CE layout manager.
The format of this file is familiar to anyone who has used .INI files under Windows. There is a
section header in square brackets, followed by various values in the form value=data.
Lines beginning with a semicolon (;) or empty lines are ignored as comments. Spaces or tabs
before or after the information are stripped off and ignored. Case is ignored in section names,
value names, and value data.
Note: Before connecting to a host using Remote Desktop Connection, go to Start | Settings |
Control Panel | Keyboard and select 0409 from the keymap popup. Tap OK.
COLxROWx Format
Note: There is no relationship between the physical layout COL/ROW of the keyboard / keypad
and the COL/ROW listing in the key map file. The key map file represents the electrical
layout not the physical layout.
All keys are specified in COLxROWx format. In this format, the first x is the 1 or 2 digit column
in the keymap, and the second x is the 1 or 2 digit row in the keymap. All rows and columns are
enumerated starting with zero (0).
In the MAP section, the COLxROWx is the value name, and the values must be less than the
MAPROWS and MAPCOLS specified in the GENERAL section.
In the SPECIAL section, the COLxROWx is the value data, and the values given can be outside
the normal key map limits.