3 * Mac keyboard def taken from SDL
4 * See the Subversion log for a list of changes.
8 SDL - Simple DirectMedia Layer
9 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Sam Lantinga
11 This library is free software; you can redistribute it and/or
12 modify it under the terms of the GNU Library General Public
13 License as published by the Free Software Foundation; either
14 version 2 of the License, or (at your option) any later version.
16 This library is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Library General Public License for more details.
21 You should have received a copy of the GNU Library General Public
22 License along with this library; if not, write to the Free
23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 /* These are the Macintosh key scancode constants -- from Inside Macintosh */
33 #define QZ_ESCAPE 0x35
47 #define QZ_SCROLLOCK 0x6B
50 #define QZ_BACKQUOTE 0x32
62 #define QZ_EQUALS 0x18
63 #define QZ_BACKSPACE 0x33
64 #define QZ_INSERT 0x72
66 #define QZ_PAGEUP 0x74
67 #define QZ_NUMLOCK 0x47
68 #define QZ_KP_EQUALS 0x51
69 #define QZ_KP_DIVIDE 0x4B
70 #define QZ_KP_MULTIPLY 0x43
82 #define QZ_LEFTBRACKET 0x21
83 #define QZ_RIGHTBRACKET 0x1E
84 #define QZ_BACKSLASH 0x2A
85 #define QZ_DELETE 0x75
87 #define QZ_PAGEDOWN 0x79
91 #define QZ_KP_MINUS 0x4E
92 #define QZ_CAPSLOCK 0x39
102 #define QZ_SEMICOLON 0x29
103 #define QZ_QUOTE 0x27
104 #define QZ_RETURN 0x24
108 #define QZ_KP_PLUS 0x45
109 #define QZ_LSHIFT 0x38
117 #define QZ_COMMA 0x2B
118 #define QZ_PERIOD 0x2F
119 #define QZ_SLASH 0x2C
120 /* These are the same as the left versions - use left by default */
122 #define QZ_RSHIFT 0x38
128 #define QZ_KP_ENTER 0x4C
129 #define QZ_LCTRL 0x3B
131 #define QZ_LMETA 0x37
132 #define QZ_SPACE 0x31
133 /* These are the same as the left versions - use left by default */
135 #define QZ_RMETA 0x37
137 #define QZ_RCTRL 0x3B
141 #define QZ_RIGHT 0x7C
143 #define QZ_KP_PERIOD 0x41
145 /* Wierd, these keys are on my iBook under MacOS X */
146 #define QZ_IBOOK_ENTER 0x34
147 #define QZ_IBOOK_LEFT 0x3B
148 #define QZ_IBOOK_RIGHT 0x3C
149 #define QZ_IBOOK_DOWN 0x3D
150 #define QZ_IBOOK_UP 0x3E
152 #endif /* VO_QUARTZ_H */