OSDN Git Service

Initial revision
[hengband/hengband.git] / lib / pref / pref-win.prf
1 # CVS: Last edit by $Author$ on $Date$
2 # File: pref-ibm.prf
3
4 #
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",
7 # including "macros".
8 #
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
14 # stored in "SS".
15 #
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.
19 #
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".
22 #
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.
26 #
27 # See "main-ibm.c" and "main-dos.c" and "main-win.c" for more info.
28 #
29
30
31 #
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).
34 #
35
36 A:<
37 P:^_x56\r
38
39 A:>
40 P:^_Sx56\r
41
42 A:|
43 P:^_Ax56\r
44
45
46 #
47 # Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
48 #
49
50 A:/
51 P:^_x35\r
52
53 A:*
54 P:^_x37\r
55
56 A:7
57 P:^_x47\r
58
59 A:8
60 P:^_x48\r
61
62 A:9
63 P:^_x49\r
64
65 A:-
66 P:^_x4A\r
67
68 A:4
69 P:^_x4B\r
70
71 A:5
72 P:^_x4C\r
73
74 A:6
75 P:^_x4D\r
76
77 A:+
78 P:^_x4E\r
79
80 A:1
81 P:^_x4F\r
82
83 A:2
84 P:^_x50\r
85
86 A:3
87 P:^_x51\r
88
89 A:0
90 P:^_x52\r
91
92 A:.
93 P:^_x53\r
94
95
96 #
97 # Shift + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
98 #
99
100 A:\e\e\e
101 P:^_Sx35\r
102
103 A:\e\e\e
104 P:^_Sx37\r
105
106 A:\e\e\\.7
107 P:^_Sx47\r
108
109 A:\e\e\\.8
110 P:^_Sx48\r
111
112 A:\e\e\\.9
113 P:^_Sx49\r
114
115 A:\e\e\e
116 P:^_Sx4A\r
117
118 A:\e\e\\.4
119 P:^_Sx4B\r
120
121 A:\e\e\\.5
122 P:^_Sx4C\r
123
124 A:\e\e\\.6
125 P:^_Sx4D\r
126
127 A:\e\e\e
128 P:^_Sx4E\r
129
130 A:\e\e\\.1
131 P:^_Sx4F\r
132
133 A:\e\e\\.2
134 P:^_Sx50\r
135
136 A:\e\e\\.3
137 P:^_Sx51\r
138
139 A:\e\e\e
140 P:^_Sx52\r
141
142 A:\e\e\e
143 P:^_Sx53\r
144
145
146 #
147 # Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
148 #
149
150 A:\e\e\e
151 P:^_Cx35\r
152
153 A:\e\e\e
154 P:^_Cx37\r
155
156 A:\e\e\\+7
157 P:^_Cx47\r
158
159 A:\e\e\\+8
160 P:^_Cx48\r
161
162 A:\e\e\\+9
163 P:^_Cx49\r
164
165 A:\e\e\e
166 P:^_Cx4A\r
167
168 A:\e\e\\+4
169 P:^_Cx4B\r
170
171 A:\e\e\\+5
172 P:^_Cx4C\r
173
174 A:\e\e\\+6
175 P:^_Cx4D\r
176
177 A:\e\e\e
178 P:^_Cx4E\r
179
180 A:\e\e\\+1
181 P:^_Cx4F\r
182
183 A:\e\e\\+2
184 P:^_Cx50\r
185
186 A:\e\e\\+3
187 P:^_Cx51\r
188
189 A:\e\e\e
190 P:^_Cx52\r
191
192 A:\e\e\e
193 P:^_Cx53\r
194
195
196 #
197 # Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
198 #
199
200 A:\e\e\e
201 P:^_Cx95\r
202
203 A:\e\e\e
204 P:^_Cx96\r
205
206 A:\e\e\\+7
207 P:^_Cx77\r
208
209 A:\e\e\\+8
210 P:^_Cx8D\r
211
212 A:\e\e\\+9
213 P:^_Cx84\r
214
215 A:\e\e\e
216 P:^_Cx8E\r
217
218 A:\e\e\\+4
219 P:^_Cx73\r
220
221 A:\e\e\\+5
222 P:^_Cx8F\r
223
224 A:\e\e\\+6
225 P:^_Cx74\r
226
227 A:\e\e\e
228 P:^_Cx90\r
229
230 A:\e\e\\+1
231 P:^_Cx75\r
232
233 A:\e\e\\+2
234 P:^_Cx91\r
235
236 A:\e\e\\+3
237 P:^_Cx76\r
238
239 A:\e\e\e
240 P:^_Cx92\r
241
242 A:\e\e\e
243 P:^_Cx93\r
244