OSDN Git Service

Merge branch 'master' of github.com:/dis-/hengband
[hengband/hengband.git] / lib / pref / pref-mac.prf
1 # File: pref-mac.prf
2
3 #
4 # This file is included by "pref.prf" when "main-mac.c" is used.
5 #
6 # See "lib/help/command.txt" and "src/files.c" for more information.
7 #
8
9
10 #
11 # Macro Trigger configuration
12 #
13 # T:<trigger template>:<modifiers>:<modifier name1>:<modifier name2>:....
14 # '&' in <trigger template> specifies location of modifier character.
15 # '#' in <trigger template> specifies location of key code.
16 #
17 # If <trigger template> is null string, all trigger difinition will be cleared.
18
19 T:&#:CSOX:control-:shift-:option-:command-
20
21 # T:<trigger name>:<keycode>:<keycode with shiftkey>
22 # '\' in <trigger name> is escape character.
23
24 T:KP_Decimal:1
25 T:KP_Multiply:3
26 T:KP_Add:5
27 T:KP_Clear:7
28 T:KP_Divide:11
29 T:KP_Enter:12
30 T:KP_Subtract:14
31 T:KP_Equal:17
32 T:KP_0:18
33 T:KP_1:19
34 T:KP_2:20
35 T:KP_3:21
36 T:KP_4:22
37 T:KP_5:23
38 T:KP_6:24
39 T:KP_7:25
40 T:KP_8:27
41 T:KP_9:28
42 T:F5:32
43 T:F6:33
44 T:F7:34
45 T:F3:35
46 T:F8:36
47 T:F10:45
48 T:F11:39
49 T:F13:41
50 T:F14:43
51 T:F9:37
52 T:F12:47
53 T:F15:49
54 T:Help:50
55 T:Home:51
56 T:Page_Up:52
57 T:Delete:53
58 T:F4:54
59 T:End:55
60 T:F2:56
61 T:Page_Down:57
62 T:F1:58
63 T:Left:59
64 T:Right:60
65 T:Down:61
66 T:Up:62
67
68
69
70 ##### Simple Macros #####
71
72
73 #
74 # Keypad -- Direction
75 #
76
77 A:0
78 P:^_18\r
79
80 A:1
81 P:^_19\r
82
83 A:2
84 P:^_20\r
85
86 A:3
87 P:^_21\r
88
89 A:4
90 P:^_22\r
91
92 A:5
93 P:^_23\r
94
95 A:6
96 P:^_24\r
97
98 A:7
99 P:^_25\r
100
101 A:8
102 P:^_27\r
103
104 A:9
105 P:^_28\r
106
107 A:+
108 P:^_05\r
109
110 A:-
111 P:^_14\r
112
113 A:*
114 P:^_03\r
115
116 A:/
117 P:^_11\r
118
119 A:=
120 P:^_17\r
121
122 A:\n
123 P:^_12\r
124
125 A:_
126 P:^_30\r
127
128 A:.
129 P:^_01\r
130
131 A:,
132 P:^_31\r
133
134 #
135 # Shift-Keypad -- Directed running
136 #
137
138 A:\e\e\\.1
139 P:^_S19\r
140
141 A:\e\e\\.2
142 P:^_S20\r
143
144 A:\e\e\\.3
145 P:^_S21\r
146
147 A:\e\e\\.4
148 P:^_S22\r
149
150 A:\e\e\\.5
151 P:^_S23\r
152
153 A:\e\e\\.6
154 P:^_S24\r
155
156 A:\e\e\\.7
157 P:^_S25\r
158
159 A:\e\e\\.8
160 P:^_S27\r
161
162 A:\e\e\\.9
163 P:^_S28\r
164
165
166 #
167 # Control-Keypad -- Directed tunneling
168 #
169
170 A:\e\e\\+1
171 P:^_C19\r
172
173 A:\e\e\\+2
174 P:^_C20\r
175
176 A:\e\e\\+3
177 P:^_C21\r
178
179 A:\e\e\\+4
180 P:^_C22\r
181
182 A:\e\e\\+5
183 P:^_C23\r
184
185 A:\e\e\\+6
186 P:^_C24\r
187
188 A:\e\e\\+7
189 P:^_C25\r
190
191 A:\e\e\\+8
192 P:^_C27\r
193
194 A:\e\e\\+9
195 P:^_C28\r
196
197
198
199 #
200 # Option-Control-Keypad -- wield {@0} and tunnel
201 #
202
203 A:\e\ew0\s\s\\+1
204 P:^_CO19\r
205
206 A:\e\ew0\s\s\\+2
207 P:^_CO20\r
208
209 A:\e\ew0\s\s\\+3
210 P:^_CO21\r
211
212 A:\e\ew0\s\s\\+4
213 P:^_CO22\r
214
215 A:\e\ew0\s\s\\+5
216 P:^_CO23\r
217
218 A:\e\ew0\s\s\\+6
219 P:^_CO24\r
220
221 A:\e\ew0\s\s\\+7
222 P:^_CO25\r
223
224 A:\e\ew0\s\s\\+8
225 P:^_CO27\r
226
227 A:\e\ew0\s\s\\+9
228 P:^_CO28\r
229
230
231 #
232 # Option-Control-Keypad-Zero -- wield {@0}
233 #
234
235 A:\e\ew0\s
236 P:^_CO18\r
237
238
239
240 #
241 # Hack -- Arrow-Keys
242 #
243
244 A:4
245 P:^_59\r
246
247 A:6
248 P:^_60\r
249
250 A:2
251 P:^_61\r
252
253 A:8
254 P:^_62\r
255
256