1
# /usr/share/BasiliskII/keycodes
3
# Basilisk II (C) 1997-2005 Christian Bauer
5
# This file is used to translate the (server-specific) scancodes to
6
# Mac keycodes depending on the window server being used.
8
# The format of this file is as follows:
11
# <SDL scancode> <Mac keycode>
12
# <SDL scancode> <Mac keycode>
13
# <SDL scancode> <Mac keycode>
16
# <SDL scancode> <Mac keycode>
17
# <SDL scancode> <Mac keycode>
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.
107
94 50 # International
126
115 58 # Logo Left (-> Option)
127
64 55 # Alt Left (-> Command)
129
113 55 # Alt Right (-> Command)
130
116 58 # Logo Right (-> Option)
131
117 50 # Menu (-> International)
135
102 60 # Cursor Right
140
# Linux Framebuffer Console
217
86 50 # International
236
125 58 # Logo Left (-> Option)
237
56 55 # Alt Left (-> Command)
239
100 55 # Alt Right (-> Command)
240
126 58 # Logo Right (-> Option)
244
106 60 # Cursor Right
249
# Quartz (1:1 translation actually)
265
105 105 # F13/PrintScrn
266
107 107 # F14/Scroll Lock
282
114 114 # Help/Insert
328
50 50 # International
342
124 60 # Cursor Right
434
86 50 # International
453
219 58 # Logo Left (-> Option)
454
56 55 # Alt Left (-> Command)
456
184 55 # Alt Right (-> Command)
457
220 58 # Logo Right (-> Option)
458
221 50 # Menu (-> International)
462
205 60 # Cursor Right