PageRenderTime 22ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/pref/pref-win.prf

https://bitbucket.org/ekolis/jackband
Unknown | 399 lines | 319 code | 80 blank | 0 comment | 0 complexity | 0c9a8504802027c2055d95eafca0b6e3 MD5 | raw file
  1# File: pref-win.prf
  2
  3#
  4# This file is used by Angband (when it was compiled using "main-win.c")
  5# to specify various "user preferences", including "macros".
  6#
  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
 12# stored in "SS".
 13#
 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".
 16#
 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.
 20#
 21# See "main-win.c" for more info.
 22#
 23
 24
 25#
 26# Macro Trigger configuration
 27#
 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.
 31#
 32# If <trigger template> is null string, all trigger difinition will be cleared.
 33
 34T:&x#:CSA:control-:shift-:alt-
 35
 36# T:<trigger name>:<keycode>:<keycode with shiftkey>
 37# '\' in <trigger name> is escape character.
 38
 39# These keycodes are actually direct keyboard scan code taken from the 'dinput.h'.
 40
 41T:-:0C
 42T:=:0D
 43T:[:1A
 44T:]:1B
 45T:;:27
 46T:\':28
 47T:`:29
 48T:\\:2B
 49T:,:33
 50T:.:34
 51T:\/:35
 52T:1:02
 53T:2:03
 54T:3:04
 55T:4:05
 56T:5:06
 57T:6:07
 58T:7:08
 59T:8:09
 60T:9:0A
 61T:0:0B
 62T:Backspace:0E
 63T:Q:10
 64T:W:11
 65T:E:12
 66T:R:13
 67T:T:14
 68T:Y:15
 69T:U:16
 70T:I:17
 71T:O:18
 72T:P:19
 73T:Enter:1C
 74T:A:1E
 75T:S:1F
 76T:D:20
 77T:F:21
 78T:G:22
 79T:H:23
 80T:J:24
 81T:K:25
 82T:L:26
 83T:Zenkaku_Hankaku:29
 84T:Z:2C
 85T:X:2D
 86T:C:2E
 87T:V:2F
 88T:B:30
 89T:N:31
 90T:M:32
 91T:KP_Multiply:37
 92T:CapsLock:3A
 93T:F1:3B
 94T:F2:3C
 95T:F3:3D
 96T:F4:3E
 97T:F5:3F
 98T:F6:40
 99T:F7:41
100T:F8:42
101T:F9:43
102T:F10:44
103T:Numlock:45
104T:Scroll:46
105#T:KP_7:47
106T:Home:47
107#T:KP_8:48
108T:Up:48
109#T:KP_9:49
110T:Page_Up:49
111T:KP_Subtract:4A
112#T:KP_4:4B
113T:Left:4B
114T:KP_5:4C
115#T:KP_6:4D
116T:Right:4D
117T:KP_Add:4E
118#T:KP_1:4F
119T:End:4F
120#T:KP_2:50
121T:Down:50
122#T:KP_3:51
123T:Page_Down:51
124#T:KP_0:52
125T:Insert:52
126#T:KP_Decimal:53
127T:Delete:53
128T:Oem_102:56
129T:F11:57
130T:F12:58
131T:Menu:5D
132T:F13:64
133T:F14:65
134T:F15:66
135T:Hiragana_Katakana:70
136T:Abnt_C1:73
137T:Henkan:79
138T:Muhenkan:7B
139T:Yen:7D
140T:Abnt_C2:7E
141T:KP_equals:8D
142T:Prevtrack:90
143T:Kanji:94
144T:Stop:95
145T:Ax:96
146T:Unlabeled:97
147T:Nexttrack:99
148T:KP_Enter:9C
149T:Mute:A0
150T:Calculator:A1
151T:Playpause:A2
152T:Mediastop:A4
153T:Volumedown:AE
154T:Volumeup:B0
155T:Webhome:B2
156T:KP_Comma:B3
157T:KP_Divide:B5
158T:Sys_Req:B7
159T:Pause:C5
160#T:Home:C7
161#T:Up:C8
162#T:Prior:C9
163#T:Left:CB
164#T:Right:CD
165#T:End:CF
166#T:Down:D0
167#T:Next:D1
168#T:Insert:D2
169#T:Delete:D3
170T:Lwin:DB
171T:Rwin:DC
172T:Apps:DD
173T:Power:DE
174T:Sleep:DF
175T:Wake:E3
176T:Websearch:E5
177T:Webfavorites:E6
178T:Webrefresh:E7
179T:Webstop:E8
180T:Webforward:E9
181T:Webback:EA
182T:Mycomputer:EB
183T:Mail:EC
184T:Mediaselect:ED
185
186
187#
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).
190#
191
192A:<
193P:^_x56\r
194
195A:>
196P:^_Sx56\r
197
198A:|
199P:^_Ax56\r
200
201
202#
203# Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
204#
205
206A:/
207P:^_x35\r
208
209A:*
210P:^_x37\r
211
212A:7
213P:^_x47\r
214
215A:\x8D
216P:^_x48\r
217
218A:9
219P:^_x49\r
220
221A:-
222P:^_x4A\r
223
224A:\x8B
225P:^_x4B\r
226
227A:5
228P:^_x4C\r
229
230A:\x8C
231P:^_x4D\r
232
233A:+
234P:^_x4E\r
235
236A:1
237P:^_x4F\r
238
239A:\x8A
240P:^_x50\r
241
242A:3
243P:^_x51\r
244
245A:0
246P:^_x52\r
247
248A:.
249P:^_x53\r
250
251
252#
253# Shift + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
254#
255
256A:\a
257P:^_Sx35\r
258
259A:\a
260P:^_Sx37\r
261
262A:\a\\.7
263P:^_Sx47\r
264
265A:\a\\.8
266P:^_Sx48\r
267
268A:\a\\.9
269P:^_Sx49\r
270
271A:\a
272P:^_Sx4A\r
273
274A:\a\\.4
275P:^_Sx4B\r
276
277A:\a\\.5
278P:^_Sx4C\r
279
280A:\a\\.6
281P:^_Sx4D\r
282
283A:\a
284P:^_Sx4E\r
285
286A:\a\\.1
287P:^_Sx4F\r
288
289A:\a\\.2
290P:^_Sx50\r
291
292A:\a\\.3
293P:^_Sx51\r
294
295A:\a
296P:^_Sx52\r
297
298A:\a
299P:^_Sx53\r
300
301
302#
303# Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
304#
305
306A:\a
307P:^_Cx35\r
308
309A:\a
310P:^_Cx37\r
311
312A:\a\\+7
313P:^_Cx47\r
314
315A:\a\\+8
316P:^_Cx48\r
317
318A:\a\\+9
319P:^_Cx49\r
320
321A:\a
322P:^_Cx4A\r
323
324A:\a\\+4
325P:^_Cx4B\r
326
327A:\a\\+5
328P:^_Cx4C\r
329
330A:\a\\+6
331P:^_Cx4D\r
332
333A:\a
334P:^_Cx4E\r
335
336A:\a\\+1
337P:^_Cx4F\r
338
339A:\a\\+2
340P:^_Cx50\r
341
342A:\a\\+3
343P:^_Cx51\r
344
345A:\a
346P:^_Cx52\r
347
348A:\a
349P:^_Cx53\r
350
351
352#
353# Control + Keypad (/,*,7,8,9,-,4,5,6,+,1,2,3,0,.)
354#
355
356A:\a
357P:^_Cx95\r
358
359A:\a
360P:^_Cx96\r
361
362A:\a\\+7
363P:^_Cx77\r
364
365A:\a\\+8
366P:^_Cx8D\r
367
368A:\a\\+9
369P:^_Cx84\r
370
371A:\a
372P:^_Cx8E\r
373
374A:\a\\+4
375P:^_Cx73\r
376
377A:\a\\+5
378P:^_Cx8F\r
379
380A:\a\\+6
381P:^_Cx74\r
382
383A:\a
384P:^_Cx90\r
385
386A:\a\\+1
387P:^_Cx75\r
388
389A:\a\\+2
390P:^_Cx91\r
391
392A:\a\\+3
393P:^_Cx76\r
394
395A:\a
396P:^_Cx92\r
397
398A:\a
399P:^_Cx93\r