annotate src/events/scancodes_xfree86.h @ 3015:adbb7f8afd2d

Removed extra debug output
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Jan 2009 23:57:12 +0000
parents 99210400e8b9
children dc1eb82ffdaa
rev   line source
2305
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
2859
99210400e8b9 Updated copyright date
Sam Lantinga <slouken@libsdl.org>
parents: 2825
diff changeset
3 Copyright (C) 1997-2009 Sam Lantinga
2305
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Lesser General Public License for more details.
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 slouken@libsdl.org
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 #include "../../include/SDL_scancode.h"
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 /* XFree86 key code to SDL scancode mapping table
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25 Sources:
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 - atKeyNames.h from XFree86 source code
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27 */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28 /* *INDENT-OFF* */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
29 static SDL_scancode xfree86_scancode_table[] = {
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
30 /* 0 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
31 /* 1 */ SDL_SCANCODE_ESCAPE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
32 /* 2 */ SDL_SCANCODE_1,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
33 /* 3 */ SDL_SCANCODE_2,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
34 /* 4 */ SDL_SCANCODE_3,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
35 /* 5 */ SDL_SCANCODE_4,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
36 /* 6 */ SDL_SCANCODE_5,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
37 /* 7 */ SDL_SCANCODE_6,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38 /* 8 */ SDL_SCANCODE_7,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
39 /* 9 */ SDL_SCANCODE_8,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
40 /* 10 */ SDL_SCANCODE_9,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
41 /* 11 */ SDL_SCANCODE_0,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
42 /* 12 */ SDL_SCANCODE_MINUS,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
43 /* 13 */ SDL_SCANCODE_EQUALS,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
44 /* 14 */ SDL_SCANCODE_BACKSPACE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
45 /* 15 */ SDL_SCANCODE_TAB,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
46 /* 16 */ SDL_SCANCODE_Q,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
47 /* 17 */ SDL_SCANCODE_W,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
48 /* 18 */ SDL_SCANCODE_E,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
49 /* 19 */ SDL_SCANCODE_R,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
50 /* 20 */ SDL_SCANCODE_T,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
51 /* 21 */ SDL_SCANCODE_Y,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
52 /* 22 */ SDL_SCANCODE_U,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
53 /* 23 */ SDL_SCANCODE_I,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
54 /* 24 */ SDL_SCANCODE_O,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
55 /* 25 */ SDL_SCANCODE_P,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
56 /* 26 */ SDL_SCANCODE_LEFTBRACKET,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
57 /* 27 */ SDL_SCANCODE_RIGHTBRACKET,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
58 /* 28 */ SDL_SCANCODE_RETURN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
59 /* 29 */ SDL_SCANCODE_LCTRL,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
60 /* 30 */ SDL_SCANCODE_A,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
61 /* 31 */ SDL_SCANCODE_S,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
62 /* 32 */ SDL_SCANCODE_D,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
63 /* 33 */ SDL_SCANCODE_F,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
64 /* 34 */ SDL_SCANCODE_G,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
65 /* 35 */ SDL_SCANCODE_H,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
66 /* 36 */ SDL_SCANCODE_J,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
67 /* 37 */ SDL_SCANCODE_K,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
68 /* 38 */ SDL_SCANCODE_L,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
69 /* 39 */ SDL_SCANCODE_SEMICOLON,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
70 /* 40 */ SDL_SCANCODE_APOSTROPHE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
71 /* 41 */ SDL_SCANCODE_GRAVE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
72 /* 42 */ SDL_SCANCODE_LSHIFT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
73 /* 43 */ SDL_SCANCODE_BACKSLASH,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
74 /* 44 */ SDL_SCANCODE_Z,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
75 /* 45 */ SDL_SCANCODE_X,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
76 /* 46 */ SDL_SCANCODE_C,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
77 /* 47 */ SDL_SCANCODE_V,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
78 /* 48 */ SDL_SCANCODE_B,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
79 /* 49 */ SDL_SCANCODE_N,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
80 /* 50 */ SDL_SCANCODE_M,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
81 /* 51 */ SDL_SCANCODE_COMMA,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
82 /* 52 */ SDL_SCANCODE_PERIOD,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
83 /* 53 */ SDL_SCANCODE_SLASH,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
84 /* 54 */ SDL_SCANCODE_RSHIFT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
85 /* 55 */ SDL_SCANCODE_KP_MULTIPLY,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
86 /* 56 */ SDL_SCANCODE_LALT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
87 /* 57 */ SDL_SCANCODE_SPACE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
88 /* 58 */ SDL_SCANCODE_CAPSLOCK,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
89 /* 59 */ SDL_SCANCODE_F1,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
90 /* 60 */ SDL_SCANCODE_F2,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
91 /* 61 */ SDL_SCANCODE_F3,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
92 /* 62 */ SDL_SCANCODE_F4,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
93 /* 63 */ SDL_SCANCODE_F5,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
94 /* 64 */ SDL_SCANCODE_F6,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
95 /* 65 */ SDL_SCANCODE_F7,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
96 /* 66 */ SDL_SCANCODE_F8,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
97 /* 67 */ SDL_SCANCODE_F9,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
98 /* 68 */ SDL_SCANCODE_F10,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
99 /* 69 */ SDL_SCANCODE_NUMLOCKCLEAR,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
100 /* 70 */ SDL_SCANCODE_SCROLLLOCK,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
101 /* 71 */ SDL_SCANCODE_KP_7,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
102 /* 72 */ SDL_SCANCODE_KP_8,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
103 /* 73 */ SDL_SCANCODE_KP_9,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
104 /* 74 */ SDL_SCANCODE_KP_MINUS,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
105 /* 75 */ SDL_SCANCODE_KP_4,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
106 /* 76 */ SDL_SCANCODE_KP_5,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
107 /* 77 */ SDL_SCANCODE_KP_6,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
108 /* 78 */ SDL_SCANCODE_KP_PLUS,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
109 /* 79 */ SDL_SCANCODE_KP_1,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
110 /* 80 */ SDL_SCANCODE_KP_2,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
111 /* 81 */ SDL_SCANCODE_KP_3,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
112 /* 82 */ SDL_SCANCODE_KP_0,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
113 /* 83 */ SDL_SCANCODE_KP_PERIOD,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
114 /* 84 */ SDL_SCANCODE_SYSREQ,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
115 /* 85 */ SDL_SCANCODE_MODE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
116 /* 86 */ SDL_SCANCODE_NONUSBACKSLASH,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
117 /* 87 */ SDL_SCANCODE_F11,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
118 /* 88 */ SDL_SCANCODE_F12,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
119 /* 89 */ SDL_SCANCODE_HOME,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
120 /* 90 */ SDL_SCANCODE_UP,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
121 /* 91 */ SDL_SCANCODE_PAGEUP,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
122 /* 92 */ SDL_SCANCODE_LEFT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
123 /* 93 */ SDL_SCANCODE_BRIGHTNESSDOWN, /* on PowerBook G4 / KEY_Begin */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
124 /* 94 */ SDL_SCANCODE_RIGHT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
125 /* 95 */ SDL_SCANCODE_END,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
126 /* 96 */ SDL_SCANCODE_DOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
127 /* 97 */ SDL_SCANCODE_PAGEDOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
128 /* 98 */ SDL_SCANCODE_INSERT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
129 /* 99 */ SDL_SCANCODE_DELETE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
130 /* 100 */ SDL_SCANCODE_KP_ENTER,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
131 /* 101 */ SDL_SCANCODE_RCTRL,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
132 /* 102 */ SDL_SCANCODE_PAUSE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
133 /* 103 */ SDL_SCANCODE_PRINTSCREEN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
134 /* 104 */ SDL_SCANCODE_KP_DIVIDE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
135 /* 105 */ SDL_SCANCODE_RALT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
136 /* 106 */ SDL_SCANCODE_UNKNOWN, /* BREAK */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
137 /* 107 */ SDL_SCANCODE_LGUI,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
138 /* 108 */ SDL_SCANCODE_RGUI,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
139 /* 109 */ SDL_SCANCODE_APPLICATION,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
140 /* 110 */ SDL_SCANCODE_F13,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
141 /* 111 */ SDL_SCANCODE_F14,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
142 /* 112 */ SDL_SCANCODE_F15,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
143 /* 113 */ SDL_SCANCODE_F16,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
144 /* 114 */ SDL_SCANCODE_F17,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
145 /* 115 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
146 /* 116 */ SDL_SCANCODE_UNKNOWN, /* is translated to XK_ISO_Level3_Shift by my X server, but I have no keyboard that generates this code, so I don't know what the correct SDL_SCANCODE_* for it is */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
147 /* 117 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
148 /* 118 */ SDL_SCANCODE_KP_EQUALS,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
149 /* 119 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
150 /* 120 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
151 /* 121 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
152 /* 122 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
153 /* 123 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
154 /* 124 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
155 /* 125 */ SDL_SCANCODE_INTERNATIONAL3, /* Yen */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
156 /* 126 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
157 /* 127 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
158 /* 128 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
159 /* 129 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
160 /* 130 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
161 /* 131 */ SDL_SCANCODE_UNKNOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
162 /* 132 */ SDL_SCANCODE_POWER,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
163 /* 133 */ SDL_SCANCODE_MUTE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
164 /* 134 */ SDL_SCANCODE_VOLUMEDOWN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
165 /* 135 */ SDL_SCANCODE_VOLUMEUP,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
166 /* 136 */ SDL_SCANCODE_HELP,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
167 /* 137 */ SDL_SCANCODE_STOP,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
168 /* 138 */ SDL_SCANCODE_AGAIN,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
169 /* 139 */ SDL_SCANCODE_UNKNOWN, /* PROPS */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
170 /* 140 */ SDL_SCANCODE_UNDO,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
171 /* 141 */ SDL_SCANCODE_UNKNOWN, /* FRONT */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
172 /* 142 */ SDL_SCANCODE_COPY,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
173 /* 143 */ SDL_SCANCODE_UNKNOWN, /* OPEN */
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
174 /* 144 */ SDL_SCANCODE_PASTE,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
175 /* 145 */ SDL_SCANCODE_FIND,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
176 /* 146 */ SDL_SCANCODE_CUT,
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
177 };
2825
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
178
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
179 /* for wireless usb keyboard (manufacturer TRUST) without numpad. */
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
180 static SDL_scancode xfree86_scancode_table2[] = {
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
181 /* 0 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
182 /* 1 */ SDL_SCANCODE_ESCAPE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
183 /* 2 */ SDL_SCANCODE_1,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
184 /* 3 */ SDL_SCANCODE_2,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
185 /* 4 */ SDL_SCANCODE_3,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
186 /* 5 */ SDL_SCANCODE_4,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
187 /* 6 */ SDL_SCANCODE_5,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
188 /* 7 */ SDL_SCANCODE_6,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
189 /* 8 */ SDL_SCANCODE_7,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
190 /* 9 */ SDL_SCANCODE_8,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
191 /* 10 */ SDL_SCANCODE_9,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
192 /* 11 */ SDL_SCANCODE_0,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
193 /* 12 */ SDL_SCANCODE_MINUS,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
194 /* 13 */ SDL_SCANCODE_EQUALS,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
195 /* 14 */ SDL_SCANCODE_BACKSPACE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
196 /* 15 */ SDL_SCANCODE_TAB,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
197 /* 16 */ SDL_SCANCODE_Q,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
198 /* 17 */ SDL_SCANCODE_W,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
199 /* 18 */ SDL_SCANCODE_E,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
200 /* 19 */ SDL_SCANCODE_R,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
201 /* 20 */ SDL_SCANCODE_T,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
202 /* 21 */ SDL_SCANCODE_Y,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
203 /* 22 */ SDL_SCANCODE_U,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
204 /* 23 */ SDL_SCANCODE_I,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
205 /* 24 */ SDL_SCANCODE_O,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
206 /* 25 */ SDL_SCANCODE_P,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
207 /* 26 */ SDL_SCANCODE_LEFTBRACKET,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
208 /* 27 */ SDL_SCANCODE_RIGHTBRACKET,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
209 /* 28 */ SDL_SCANCODE_RETURN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
210 /* 29 */ SDL_SCANCODE_LCTRL,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
211 /* 30 */ SDL_SCANCODE_A,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
212 /* 31 */ SDL_SCANCODE_S,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
213 /* 32 */ SDL_SCANCODE_D,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
214 /* 33 */ SDL_SCANCODE_F,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
215 /* 34 */ SDL_SCANCODE_G,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
216 /* 35 */ SDL_SCANCODE_H,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
217 /* 36 */ SDL_SCANCODE_J,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
218 /* 37 */ SDL_SCANCODE_K,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
219 /* 38 */ SDL_SCANCODE_L,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
220 /* 39 */ SDL_SCANCODE_SEMICOLON,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
221 /* 40 */ SDL_SCANCODE_APOSTROPHE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
222 /* 41 */ SDL_SCANCODE_GRAVE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
223 /* 42 */ SDL_SCANCODE_LSHIFT,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
224 /* 43 */ SDL_SCANCODE_BACKSLASH,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
225 /* 44 */ SDL_SCANCODE_Z,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
226 /* 45 */ SDL_SCANCODE_X,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
227 /* 46 */ SDL_SCANCODE_C,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
228 /* 47 */ SDL_SCANCODE_V,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
229 /* 48 */ SDL_SCANCODE_B,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
230 /* 49 */ SDL_SCANCODE_N,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
231 /* 50 */ SDL_SCANCODE_M,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
232 /* 51 */ SDL_SCANCODE_COMMA,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
233 /* 52 */ SDL_SCANCODE_PERIOD,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
234 /* 53 */ SDL_SCANCODE_SLASH,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
235 /* 54 */ SDL_SCANCODE_RSHIFT,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
236 /* 55 */ SDL_SCANCODE_KP_MULTIPLY,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
237 /* 56 */ SDL_SCANCODE_LALT,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
238 /* 57 */ SDL_SCANCODE_SPACE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
239 /* 58 */ SDL_SCANCODE_CAPSLOCK,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
240 /* 59 */ SDL_SCANCODE_F1,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
241 /* 60 */ SDL_SCANCODE_F2,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
242 /* 61 */ SDL_SCANCODE_F3,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
243 /* 62 */ SDL_SCANCODE_F4,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
244 /* 63 */ SDL_SCANCODE_F5,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
245 /* 64 */ SDL_SCANCODE_F6,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
246 /* 65 */ SDL_SCANCODE_F7,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
247 /* 66 */ SDL_SCANCODE_F8,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
248 /* 67 */ SDL_SCANCODE_F9,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
249 /* 68 */ SDL_SCANCODE_F10,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
250 /* 69 */ SDL_SCANCODE_NUMLOCKCLEAR,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
251 /* 70 */ SDL_SCANCODE_SCROLLLOCK,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
252 /* 71 */ SDL_SCANCODE_KP_7,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
253 /* 72 */ SDL_SCANCODE_KP_8,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
254 /* 73 */ SDL_SCANCODE_KP_9,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
255 /* 74 */ SDL_SCANCODE_KP_MINUS,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
256 /* 75 */ SDL_SCANCODE_KP_4,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
257 /* 76 */ SDL_SCANCODE_KP_5,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
258 /* 77 */ SDL_SCANCODE_KP_6,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
259 /* 78 */ SDL_SCANCODE_KP_PLUS,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
260 /* 79 */ SDL_SCANCODE_KP_1,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
261 /* 80 */ SDL_SCANCODE_KP_2,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
262 /* 81 */ SDL_SCANCODE_KP_3,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
263 /* 82 */ SDL_SCANCODE_KP_0,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
264 /* 83 */ SDL_SCANCODE_KP_PERIOD,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
265 /* 84 */ SDL_SCANCODE_SYSREQ, /* ???? */
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
266 /* 85 */ SDL_SCANCODE_MODE, /* ???? */
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
267 /* 86 */ SDL_SCANCODE_NONUSBACKSLASH,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
268 /* 87 */ SDL_SCANCODE_F11,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
269 /* 88 */ SDL_SCANCODE_F12,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
270 /* 89 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
271 /* 90 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
272 /* 91 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
273 /* 92 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
274 /* 93 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
275 /* 94 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
276 /* 95 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
277 /* 96 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
278 /* 97 */ SDL_SCANCODE_RCTRL,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
279 /* 98 */ SDL_SCANCODE_KP_DIVIDE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
280 /* 99 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
281 /* 100 */ SDL_SCANCODE_RALT, /* ISO_Level3_Shift, ALTGR, RALT */
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
282 /* 101 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
283 /* 102 */ SDL_SCANCODE_HOME,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
284 /* 103 */ SDL_SCANCODE_UP,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
285 /* 104 */ SDL_SCANCODE_PAGEUP,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
286 /* 105 */ SDL_SCANCODE_LEFT,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
287 /* 106 */ SDL_SCANCODE_RIGHT,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
288 /* 107 */ SDL_SCANCODE_END,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
289 /* 108 */ SDL_SCANCODE_DOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
290 /* 109 */ SDL_SCANCODE_PAGEDOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
291 /* 110 */ SDL_SCANCODE_INSERT,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
292 /* 111 */ SDL_SCANCODE_DELETE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
293 /* 112 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
294 /* 113 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
295 /* 114 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
296 /* 115 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
297 /* 116 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
298 /* 117 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
299 /* 118 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
300 /* 119 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
301 /* 120 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
302 /* 121 */ SDL_SCANCODE_PAUSE,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
303 /* 122 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
304 /* 123 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
305 /* 124 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
306 /* 125 */ SDL_SCANCODE_LGUI,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
307 /* 126 */ SDL_SCANCODE_RGUI,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
308 /* 127 */ SDL_SCANCODE_APPLICATION,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
309 /* 128 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
310 /* 129 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
311 /* 130 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
312 /* 131 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
313 /* 132 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
314 /* 133 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
315 /* 134 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
316 /* 135 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
317 /* 136 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
318 /* 137 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
319 /* 138 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
320 /* 139 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
321 /* 140 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
322 /* 141 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
323 /* 142 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
324 /* 143 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
325 /* 144 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
326 /* 145 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
327 /* 146 */ SDL_SCANCODE_UNKNOWN,
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
328 };
620a91b6d263 Date: Tue, 02 Dec 2008 23:38:26 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2305
diff changeset
329
2305
fbe8ff44c519 First pass of new SDL scancode concept for X11.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
330 /* *INDENT-ON* */