|
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 which now reside in the CDI file. If any of these parms are specified in the KEYMAP file, however, they take precedence over similar parms specified in the CDI file. Please remove any obsolete parms from this file and make sure their corollary definitions are present 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 BKSP = Back Space Character
SP = Space Character
ENT = Enter key
'C-' = Ctrl key held down in addition to an alphanumeric key. The other key must be represented within single quotes unless the key has a special name. Examples: C-'a' or C-F2
Fx = Represents code for a function key (F1-F10) KEYMAP "right side" values (POS Function Codes)
NOKEY No key 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 Note: The S1 and S2 keys default to the IBM default keys. Either of these two keys must be pressed in conjunction with the CTRL key. Unless you want to specify other keys, a definition of S1_FC and S2_FC is unnecessary.
Sample KEYMAP file for IBM 4694 50-Key Keyboard
/* KEYMAP definition for checkout terminals in Store */ /* */ /* Even though alphanumeric keys do not exist on a */ /* 4694 50 key keyboard, please define them as NOKEY */ /* as in the sample below */ a = 65 /* Manufacturer's Coupon */ b = 211 /* Department 12 */ c = 206 /* Department 7 */ d = 202 /* Department 3 */ e = 210 /* Department 11 */ f = 204 /* Department 5 */ g = 214 /* Department 15 */ h = 67 /* Refund */ i = 61 /* Sign on/off */ j = 66 /* Store Coupon */ k = 79 /* Override */ l = 207 /* Department 8 */ m = 208 /* Department 9 */ n = 82 /* Suspend/Retieve */ o = 93 /* Food Stamps Tender */ p = 91 /* Cash Tender */ q = 70 /* Void */ r = 74 /* Price */ s = 201 /* Department 2 */ t = 203 /* Department 4 */ u = 76 /* Food Stamps/No Food Stamps */ v = 96 /* Miscellaneous Tender 3 */ w = 92 /* Check Tender */ x = 215 /* Department 16 */ c-'a' = SCR_UP /* Scroll Up */ x = SCR_UP /* Scroll Up */ y = 71 /* Tare */ c-'b' = SCR_DN /* Scroll Down */ y = SCR_DN /* Scroll Down */ z = 205 /* Department 6 */ + = 200 /* Department 1 */ - = 77 /* Tax/No Tax */ * = 94 /* Miscellaneous Tender 1 */ / = 95 /* Miscellaneous Tender 2 */ . = 73 /* Clear */ , = 72 /* Weight */ ; = 75 /* Quantity */ ENT = 80 /* Enter */ SPACE = 62 /* Discount */ BKSP = 100 /* No Sale */ F3 = 81 /* Total */ \ = 78 /* Decimal Point */ IBM 4694 50-Key IBM 4694 Keyboard Definition Template Left Keys | a | b | c | | d | e | | j | k | l | 7 | 8 | 9 | | q | r | s | 4 | 5 | 6 | | x | y | z | 1 | 2 | 3 | . (period) | , (comma) | ; semi-colon | 0 | 0 | \ |
Right Side Keys | f | g | h | i | | m | n | o | p | | t | u | v | w | | + | - | * | / | | ENTER | SP | BKSP | F3 | |