ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/SDL/keycodes
Revision: 1.5
Committed: 2010-08-23T23:51:34Z (14 years, 2 months ago) by asvitkine
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Error occurred while calculating annotation data.
Log Message:
[Edward Mendelson] Fix default keycode for ` key.

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