ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/keycodes
Revision: 1.7
Committed: 2005-01-30T21:42:14Z (19 years, 9 months ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-19, nigel-build-17, HEAD
Changes since 1.6: +1 -1 lines
Log Message:
Happy New Year!

File Contents

# Content
1 # /usr/share/BasiliskII/keycodes
2 #
3 # Basilisk II (C) 1997-2005 Christian Bauer
4 #
5 # This file is used to translate the (server-specific) X11 keycodes to Mac
6 # keycodes depending on the X11 server being used.
7 #
8 # The format of this file is as follows:
9 #
10 # <vendor string>
11 # <X11 keycode> <Mac keycode>
12 # <X11 keycode> <Mac keycode>
13 # <X11 keycode> <Mac keycode>
14 # ...
15 # <vendor string>
16 # <X11 keycode> <Mac keycode>
17 # <X11 keycode> <Mac keycode>
18 # ...
19 #
20 # The "vendor string" must match the first part of the X11 server vendor
21 # description as reported by ServerVendor(). If a match is found, the keycode
22 # translation table is constructed from the following lines. Each line
23 # contains an X11 keycode followed by its associated Mac keycode. Both
24 # keycodes have to be given in decimal. Lines beginning with "#" or ";" are
25 # treated as comments and ignored.
26 #
27
28 #
29 # XFree86
30 #
31 The XFree86 Project, Inc
32 9 53 # Esc
33 67 122 # F1
34 68 120 # F2
35 69 99 # F3
36 70 118 # F4
37 71 96 # F5
38 72 97 # F6
39 73 98 # F7
40 74 100 # F8
41 75 101 # F9
42 76 109 # F10
43 95 103 # F11
44 96 111 # F12
45 111 105 # PrintScrn
46 78 107 # Scroll Lock
47 110 113 # Pause
48 49 10 # `
49 10 18 # 1
50 11 19 # 2
51 12 20 # 3
52 13 21 # 4
53 14 23 # 5
54 15 22 # 6
55 16 26 # 7
56 17 28 # 8
57 18 25 # 9
58 19 29 # 0
59 20 27 # -
60 21 24 # =
61 22 51 # Backspace
62 106 114 # Insert
63 97 115 # Home
64 99 116 # Page Up
65 77 71 # Num Lock
66 112 75 # KP /
67 63 67 # KP *
68 82 78 # KP -
69 23 48 # Tab
70 24 12 # Q
71 25 13 # W
72 26 14 # E
73 27 15 # R
74 28 17 # T
75 29 16 # Y
76 30 32 # U
77 31 34 # I
78 32 31 # O
79 33 35 # P
80 34 33 # [
81 35 30 # ]
82 36 36 # Return
83 107 117 # Delete
84 103 119 # End
85 105 121 # Page Down
86 79 89 # KP 7
87 80 91 # KP 8
88 81 92 # KP 9
89 86 69 # KP +
90 66 57 # Caps Lock
91 38 0 # A
92 39 1 # S
93 40 2 # D
94 41 3 # F
95 42 5 # G
96 43 4 # H
97 44 38 # J
98 45 40 # K
99 46 37 # L
100 47 41 # ;
101 48 39 # '
102 83 86 # KP 4
103 84 87 # KP 5
104 85 88 # KP 6
105 50 56 # Shift Left
106 94 50 # International
107 52 6 # Z
108 53 7 # X
109 54 8 # C
110 55 9 # V
111 56 11 # B
112 57 45 # N
113 58 46 # M
114 59 43 # ,
115 60 47 # .
116 61 44 # /
117 62 56 # Shift Right
118 51 42 # \
119 98 62 # Cursor Up
120 87 83 # KP 1
121 88 84 # KP 2
122 89 85 # KP 3
123 108 76 # KP Enter
124 37 54 # Ctrl Left
125 115 58 # Logo Left (-> Option)
126 64 55 # Alt Left (-> Command)
127 65 49 # Space
128 113 55 # Alt Right (-> Command)
129 116 58 # Logo Right (-> Option)
130 117 50 # Menu (-> International)
131 109 54 # Ctrl Right
132 100 59 # Cursor Left
133 104 61 # Cursor Down
134 102 60 # Cursor Right
135 90 82 # KP 0
136 91 65 # KP .
137
138 #
139 # MacX (keycodes depend on Mac keymap, so this doesn't make much sense...)
140 #
141 MacX
142 61 53 # Esc
143 130 122 # F1
144 128 120 # F2
145 107 99 # F3
146 126 118 # F4
147 104 96 # F5
148 105 97 # F6
149 106 98 # F7
150 108 100 # F8
151 109 101 # F9
152 117 109 # F10
153 111 103 # F11
154 119 111 # F12
155 113 105 # F13/PrintScrn
156 115 107 # F14/Scroll Lock
157 121 113 # F15/Pause
158 18 10 # `
159 26 18 # 1
160 27 19 # 2
161 28 20 # 3
162 29 21 # 4
163 31 23 # 5
164 30 22 # 6
165 34 26 # 7
166 36 28 # 8
167 33 25 # 9
168 37 29 # 0
169 35 27 # -
170 32 24 # =
171 59 51 # Backspace
172 122 114 # Help/Insert
173 123 115 # Home
174 124 116 # Page Up
175 79 71 # Num Lock
176 89 81 # KP =
177 83 75 # KP /
178 75 67 # KP *
179 56 48 # Tab
180 20 12 # Q
181 21 13 # W
182 22 14 # E
183 23 15 # R
184 25 17 # T
185 24 16 # Y
186 40 32 # U
187 42 34 # I
188 39 31 # O
189 43 35 # P
190 41 33 # [
191 38 30 # ]
192 44 36 # Return
193 125 117 # Delete
194 127 119 # End
195 129 121 # Page Down
196 97 89 # KP 7
197 99 91 # KP 8
198 100 92 # KP 9
199 86 78 # KP -
200 65 57 # Caps Lock
201 8 0 # A
202 9 1 # S
203 10 2 # D
204 11 3 # F
205 13 5 # G
206 12 4 # H
207 46 38 # J
208 48 40 # K
209 45 37 # L
210 49 41 # ;
211 47 39 # '
212 50 42 # \
213 94 86 # KP 4
214 95 87 # KP 5
215 96 88 # KP 6
216 77 69 # KP +
217 64 56 # Shift
218 58 50 # International
219 14 6 # Z
220 15 7 # X
221 16 8 # C
222 17 9 # V
223 19 11 # B
224 53 45 # N
225 54 46 # M
226 51 43 # ,
227 55 47 # .
228 52 44 # /
229 134 62 # Cursor Up
230 91 83 # KP 1
231 92 84 # KP 2
232 93 85 # KP 3
233 84 76 # KP Enter
234 62 54 # Ctrl
235 66 58 # Option
236 63 55 # Command
237 67 54 # Ctrl Left
238 57 49 # Space
239 131 59 # Cursor Left
240 133 61 # Cursor Down
241 132 60 # Cursor Right
242 90 82 # KP 0
243 73 65 # KP .
244
245 #
246 # SunOS/OpenWindows
247 #
248 Sun Microsystems, Inc.
249 36 53 # Esc
250 12 122 # F1
251 13 120 # F2
252 15 99 # F3
253 17 118 # F4
254 19 96 # F5
255 21 97 # F6
256 23 98 # F7
257 24 100 # F8
258 25 101 # F9
259 14 109 # F10
260 16 103 # F11
261 18 111 # F12
262 29 105 # PrintScrn
263 30 107 # Scroll Lock
264 28 113 # Pause
265 49 10 # `
266 37 18 # 1
267 38 19 # 2
268 39 20 # 3
269 40 21 # 4
270 41 23 # 5
271 42 22 # 6
272 43 26 # 7
273 44 28 # 8
274 45 25 # 9
275 46 29 # 10
276 47 27 # -
277 48 24 # =
278 50 51 # Backspace
279 51 114 # Help/Insert
280 59 115 # Home
281 103 116 # Page Up
282 105 71 # Num Lock
283 53 75 # KP /
284 54 67 # KP *
285 78 78 # KP -
286 60 48 # Tab
287 61 12 # Q
288 62 13 # W
289 63 14 # E
290 64 15 # R
291 65 17 # T
292 66 16 # Y
293 67 32 # U
294 68 34 # I
295 69 31 # O
296 70 35 # P
297 71 33 # [
298 72 30 # ]
299 96 36 # Return
300 73 117 # Delete
301 81 119 # End
302 130 121 # Page Down
303 75 89 # KP 7
304 76 91 # KP 8
305 77 92 # KP 9
306 132 69 # KP +
307 126 57 # Caps Lock
308 84 0 # A
309 85 1 # S
310 86 2 # D
311 87 3 # F
312 88 5 # G
313 89 4 # H
314 90 38 # J
315 91 40 # K
316 92 37 # L
317 93 41 # ;
318 94 39 # '
319 98 86 # KP 4
320 99 87 # KP 5
321 100 88 # KP 6
322 106 56 # Shift Left
323 131 50 # International
324 107 6 # Z
325 108 7 # X
326 109 8 # C
327 110 9 # V
328 111 11 # B
329 112 45 # N
330 113 46 # M
331 114 43 # ,
332 115 47 # .
333 116 44 # /
334 117 56 # Shift Right
335 95 42 # \
336 27 62 # Cursor Up
337 119 83 # KP 1
338 120 84 # KP 2
339 121 85 # KP 3
340 97 76 # KP Enter
341 83 54 # Ctrl Left
342 26 58 # Option Left
343 127 55 # Command Left
344 128 49 # Space
345 129 55 # Command Right
346 74 58 # Option Right
347 20 54 # Ctrl Right
348 31 59 # Cursor Left
349 34 61 # Cursor Down
350 35 60 # Cursor Right
351 101 82 # KP 0
352 57 65 # KP .
353
354 #
355 # AmiWin
356 #
357 AmiWin
358 77 53 # Esc
359 88 122 # F1
360 89 120 # F2
361 90 99 # F3
362 91 118 # F4
363 92 96 # F5
364 93 97 # F6
365 94 98 # F7
366 95 100 # F8
367 96 101 # F9
368 97 109 # F10
369 8 10 # `
370 9 18 # 1
371 10 19 # 2
372 11 20 # 3
373 12 21 # 4
374 13 23 # 5
375 14 22 # 6
376 15 26 # 7
377 16 28 # 8
378 17 25 # 9
379 18 29 # 10
380 19 27 # -
381 20 24 # =
382 21 42 # \
383 73 51 # Backspace
384 78 117 # Delete
385 103 114 # Help (-> Help/Insert)
386 98 71 # KP [ (-> Num Lock)
387 99 81 # KP ] (-> KP =)
388 100 75 # KP /
389 101 67 # KP *
390 74 48 # Tab
391 24 12 # Q
392 25 13 # W
393 26 14 # E
394 27 15 # R
395 28 17 # T
396 29 16 # Y
397 30 32 # U
398 31 34 # I
399 32 31 # O
400 33 35 # P
401 34 33 # [
402 35 30 # ]
403 76 36 # Return
404 69 89 # KP 7
405 70 91 # KP 8
406 71 92 # KP 9
407 82 78 # KP -
408 107 54 # Ctrl
409 106 57 # Caps Lock
410 40 0 # A
411 41 1 # S
412 42 2 # D
413 43 3 # F
414 44 5 # G
415 45 4 # H
416 46 38 # J
417 47 40 # K
418 48 37 # L
419 49 41 # ;
420 50 39 # '
421 51 42 # International (-> \)
422 84 62 # Cursor Up
423 53 86 # KP 4
424 54 87 # KP 5
425 55 88 # KP 6
426 102 69 # KP +
427 104 56 # Shift Left
428 56 50 # International
429 57 6 # Z
430 58 7 # X
431 59 8 # C
432 60 9 # V
433 61 11 # B
434 62 45 # N
435 63 46 # M
436 64 43 # ,
437 65 47 # .
438 66 44 # /
439 105 56 # Shift Right
440 87 59 # Cursor Left
441 85 61 # Cursor Down
442 86 60 # Cursor Right
443 37 83 # KP 1
444 38 84 # KP 2
445 39 85 # KP 3
446 75 76 # KP Enter
447 108 58 # Alt Left (-> Option)
448 110 55 # Amiga Left (-> Command)
449 72 49 # Space
450 111 55 # Amiga Right (-> Command)
451 109 58 # Alt Right (-> Option)
452 23 82 # KP 0
453 68 65 # KP .