1 # CVS: Last edit by $Author$ on $Date$
5 # This file is used by Angband (when it was compiled using "main-ibm.c"
6 # or "main-dos.c" or "main-win.c") to specify various "user preferences",
9 # This file defines some basic macros, which allow the use of the "keypad",
10 # alone, and with the shift and/or control modifier keys. All "special"
11 # keys are translated by "main-ibm.c" (or "main-win.c") into special "macro
12 # triggers" of the encoded form "^_MMMxSS\r", where the "modifier" flags are
13 # stored in "MMM", and the two digit hexidecimal scan code of the keypress is
16 # The "main-ibm.prf" and "main-dos.prf" files may not be able to recognize
17 # the "/" and "*" keys on the keypad, because it mistakenly classifies the
18 # "0x35" and "0x37" codes as the keycodes of "normal" keys.
20 # The "main-win.prf" file should not be using the final "control + keypad"
21 # section in this file, it was created for "main-ibm.c" and "main-dos.c".
23 # The "main-win.prf" file may actually send the "ascii" equivalent of some
24 # keypad keys after the keypad key itself, especially if "numlock" is down,
25 # which may cause problems. Or it may not, it is hard to tell. This is bad.
27 # See "main-ibm.c" and "main-dos.c" and "main-win.c" for more info.
32 # Hack -- Some foreign keyboards have a special key on the keyboard, which
33 # is used to generate the "<", ">", and "|" keys (alone, shifted, alt-ed).
47 # Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
97 # Shift + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
147 # Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
197 # Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)