The KEYMAP.xxx file resides in the ADX_UDT1 directory on all controllers. The KEYMAP.000 file is part of the ASM (Applied Software Maintenance) install diskette for QConnect. The ASM QConnect install diskette must be installed on every controller that is to load and support QConnect terminals.
The KEYMAP.xxx file has an extension, xxx, which represents one of the following:
* If xxx = 000, this is the default KEYMAP file to be used if a KEYMAP file does not exist for a particular terminal number.
* If xxx = nnn (where nnn is a terminal number), values from this file will be used for terminal nnn only.
KEYMAP Layout and Syntax
Each line within the KEYMAP file must be one of the following:
o a blank line
o a comment line /* this a comment */
o a key mapping line a = 73
Note: Several parameters formerly contained in the KEYMAP file have been moved to the CDIFILE. The description here omits all parms that now reside in the CDI file.
/* Key Map File Syntax: */
/* [key_name] = [key POS function code] /* comment . . . . . . */ */
/* */
/* "key_name" can be left blank for no key mapping or it can be */
/* a single key letter, number, or special function code associated */
/* with the character generated by the keyboard. */
/* */
/* "key POS function code" can either be the POS function code value */
/* */
/* such as: 73, 61, 95, 115, 222 */
/* */
/* or it can be one of the "right side" special key values such as: */
/* NOKEY, NUM_00 ,NUM_000 */
/* */
/* Comments begin with "/*" and end with "*/", they must began and */
/* end on the same line. */
KEYMAP "left side" values (Key names)
Alphanumeric or special character represents code generated by the key. Please refer to the keyboard layout chart shown below for details for this particular keyboard.
Examples:
ENT = Enter key
Fx = Represents code for a function key (F1-F10)
KEYMAP "right side" values (POS Function Codes)
NOKEY No function code is assigned to this key.
NUM_00 sends '0','0' to the application
NUM_000 sends '0','0','0' to the application
THRTKEY issue Document Insert (DI) open or close throat
DOCEJEC issue Document Eject
CUT_KEY test key assignment setting to cut the customer receipt
CUTPKEY test key assignment setting partial cut of the receipt
CR__KEY test key to advance the CR printer
SJ__KEY test key to advance the SJ printer
DI__KEY test key to advance the DI printer
DIBKKEY test key to backup the paper in the DI printer
PTSTKEY test key to test printing from the terminal
S1_FC used to assign the S1 IBM system key
S2_FC used to assign the S2 IBM system key
SCR_UP scrolls UP electronic journal on full screen display
SCR_DN scrolls DOWN electronic journal on full screen display
Sample KEYMAP file for NCR 64-Key Keyboard
/* Sample KEYMAP.xxx file for NCR 56-key POS Keyboard */
/* */
a = 66 /* Store Coupon */
b = 65 /* Manufacturer's Coupon */
c = 206 /* Department 6 */
d = 208 /* Department 8 */
e = 210 /* Department 10 */
f = 61 /* Sign On/Off Key */
g = 77 /* Tax/No Tax Key */
h = 70 /* VOID */
i = 62 /* Discount */
j = NOKEY
k = NOKEY
l = 216 /* Department 16 */
m = 211 /* Department 11 */
n = 76 /* Food Stamps/No Food Stamps */
o = NOKEY
p = 67 /* Refund */
q = 75 /* Quantity */
r = NOKEY
s = 209 /* Department 9 */
t = 212 /* Department 12 */
u = 72 /* Weight */
v = 74 /* Price */
w = S1_FC /* System key S1 */
x = S2_FC /* System key S2 */
y = 79 /* Override */
z = 71 /* Tare */
F1 = 96 /* Miscellaneous Tender 3 */
F2 = 94 /* Miscellaneous Tender 1 */
F3 = 95 /* Miscellaneous Tender 2 */
F4 = 93 /* Food Stamp Tender */
F5 = 92 /* Check Tender */
F6 = NOKEY
F7 = 91 /* Cash Tender */
F8 = 82 /* Suspend/Retrieve */
F9 = 81 /* Total */
F10 = 100 /* No Sale */
S-F1 = 73 /* Clear */
S-F2 = 204 /* Department 4 */
S-F3 = 217 /* Department 17 */
S-F4 = 214 /* Department 14 */
S-F5 = 203 /* Department 3 */
S-F6 = 205 /* Department 5 */
S-F7 = 213 /* Department 13 */
S-F8 = 207 /* Department 7 */
S-F9 = NOKEY /* unused half of double-wide ZERO key.
+ = 202 /* Department 2 */
*
= NOKEY
- = 201 /* Department 1 */
. = 78 /* "/" character */
ENT = 80 /* Enter Key */