4 # This file is used by Angband (when it was compiled using "main-win.c")
5 # to specify various "user preferences", including "macros".
7 # This file defines some basic macros, which allow the use of the "keypad",
8 # alone, and with the shift and/or control modifier keys. All "special"
9 # keys are translated by "main-ibm.c" (or "main-win.c") into special "macro
10 # triggers" of the encoded form "^_MMMxSS\r", where the "modifier" flags are
11 # stored in "MMM", and the two digit hexidecimal scan code of the keypress is
14 # The "main-win.prf" file should not be using the final "control + keypad"
15 # section in this file, it was created for "main-ibm.c" and "main-dos.c".
17 # The "main-win.prf" file may actually send the "ascii" equivalent of some
18 # keypad keys after the keypad key itself, especially if "numlock" is down,
19 # which may cause problems. Or it may not, it is hard to tell. This is bad.
21 # See "main-win.c" for more info.
26 # Macro Trigger configuration
28 # T:<trigger template>:<modifiers>:<modifier name1>:<modifier name2>:....
29 # '&' in <trigger template> specifies location of modifier character.
30 # '#' in <trigger template> specifies location of key code.
32 # If <trigger template> is null string, all trigger difinition will be cleared.
34 T:&x#:CSA:control-:shift-:alt-
36 # T:<trigger name>:<keycode>:<keycode with shiftkey>
37 # '\' in <trigger name> is escape character.
39 # These keycodes are actually direct keyboard scan code taken from the 'dinput.h'.
135 T:Hiragana_Katakana:70
188 # Hack -- Some foreign keyboards have a special key on the keyboard, which
189 # is used to generate the "<", ">", and "|" keys (alone, shifted, alt-ed).
203 # Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
253 # Shift + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
303 # Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
353 # Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)