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 Big Ticket Keyboard
/* Sample KEYMAP.xxx file for NCR Big Ticket POS Keyboard */
/* */
F1 = 61 /* Sign On/Off */
F2 = 71 /* Tare */
F3 = 72 /* Weight */
F4 = 93 /* Food Stamp Tender */
F5 = 92 /* Check Tender */
F6 = 75 /* Quantity */
F7 = 91 /* Cash Tender */
F8 = 82 /* Suspend/Retrieve */
F9 = 81 /* Total */
F10 = 100 /* No Sale */
S-F1 = 73 /* Clear */
S-F2 = 88 /* Store Coupon */
S-F3 = 74 /* Price */
S-F4 = NOKEY /* */
S-F5 = 79 /* Override */
S-F6 = 70 /* Void */
S-F7 = 92 /* Check Tender */
S-F8 = 94 /* Check Verify */
S-F7 = S1_FC /* System key S1 (only when key in X position) */
S-F8 = S2_FC /* System key S2 (only when key in X position) */
S-F9 = NOKEY /* Zero Key is double-wide */
S-F10 = NOKEY
C-F1 = NOKEY
C-F2 = NOKEY
C-F3 = NOKEY
+ = 85 /* Manufacturers Coupon */
* = 67 /* Refund */
- = 201 /* Department 1 */
. = 78 /* "/" character */
ENT = 80 /* Enter Key */
NCR Big Ticket POS Keyboard
| F1 | F2 | | S-F1 | <
td colspan="2" width="16%" height="8" valign="top"> * | - | S-F4 |
| F3 | F4 | | 7 | 8 | 9 | | S-F2 | S-F5 |
| F5 | F6 | | 4 | 5 | 6 | | + | S-F6 |
| F7 | F8 | | 1 | 2 | 3 | | S-F3 | S-F7 |
| F9 | F10 | | 0 | S-F9 | . | | ENT | S-F8 |
Note: Alpha and numeric keys should not be reassigned.
The S-Fx keys provide the same code as F(x+10). Examples: S-F1 --> F11, S-F8 --> F18
See list below for other keys that can be reassigned. C- refers to the Ctrl key hit in conjunction with another key.
A- refers to the Alt key hit in conjunction with another key. The following list should be self-explanatory.
C-(alpha key) RGHT A-DEL
C-(numeric key) PGUP C-TAB
A-(numeric key) PGDN C-DEL
C-(F1-F12) INS C-INS
A-(F1-F12) DEL C-ENT
BKSP C-BRK C-HOME
TAB A-ESC C-END
NUMLCK A-BKSP C-UP
SCROLL A-TAB C-DOWN
C-'\' A-ENT C-LEFT
C-'-' A-HOME C-RGHT
SPACE A-END C-PGUP
EQUAL A-UP C-PGDN
ESC A-DOWN
HOME A-LEFT
END A-RGHT
UP A-PGUP
DOWN A-PGDN
LEFT A-INS