00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00027 #ifndef _SDL_scancode_h
00028 #define _SDL_scancode_h
00029
00030 #include "SDL_stdinc.h"
00031
00044 typedef enum
00045 {
00046 SDL_SCANCODE_UNKNOWN = 0,
00047
00048
00049
00050 SDL_SCANCODE_A = 4,
00051 SDL_SCANCODE_B = 5,
00052 SDL_SCANCODE_C = 6,
00053 SDL_SCANCODE_D = 7,
00054 SDL_SCANCODE_E = 8,
00055 SDL_SCANCODE_F = 9,
00056 SDL_SCANCODE_G = 10,
00057 SDL_SCANCODE_H = 11,
00058 SDL_SCANCODE_I = 12,
00059 SDL_SCANCODE_J = 13,
00060 SDL_SCANCODE_K = 14,
00061 SDL_SCANCODE_L = 15,
00062 SDL_SCANCODE_M = 16,
00063 SDL_SCANCODE_N = 17,
00064 SDL_SCANCODE_O = 18,
00065 SDL_SCANCODE_P = 19,
00066 SDL_SCANCODE_Q = 20,
00067 SDL_SCANCODE_R = 21,
00068 SDL_SCANCODE_S = 22,
00069 SDL_SCANCODE_T = 23,
00070 SDL_SCANCODE_U = 24,
00071 SDL_SCANCODE_V = 25,
00072 SDL_SCANCODE_W = 26,
00073 SDL_SCANCODE_X = 27,
00074 SDL_SCANCODE_Y = 28,
00075 SDL_SCANCODE_Z = 29,
00076
00077 SDL_SCANCODE_1 = 30,
00078 SDL_SCANCODE_2 = 31,
00079 SDL_SCANCODE_3 = 32,
00080 SDL_SCANCODE_4 = 33,
00081 SDL_SCANCODE_5 = 34,
00082 SDL_SCANCODE_6 = 35,
00083 SDL_SCANCODE_7 = 36,
00084 SDL_SCANCODE_8 = 37,
00085 SDL_SCANCODE_9 = 38,
00086 SDL_SCANCODE_0 = 39,
00087
00088 SDL_SCANCODE_RETURN = 40,
00089 SDL_SCANCODE_ESCAPE = 41,
00090 SDL_SCANCODE_BACKSPACE = 42,
00091 SDL_SCANCODE_TAB = 43,
00092 SDL_SCANCODE_SPACE = 44,
00093
00094 SDL_SCANCODE_MINUS = 45,
00095 SDL_SCANCODE_EQUALS = 46,
00096 SDL_SCANCODE_LEFTBRACKET = 47,
00097 SDL_SCANCODE_RIGHTBRACKET = 48,
00098 SDL_SCANCODE_BACKSLASH = 49,
00099 SDL_SCANCODE_NONUSHASH = 50,
00100 SDL_SCANCODE_SEMICOLON = 51,
00101 SDL_SCANCODE_APOSTROPHE = 52,
00102 SDL_SCANCODE_GRAVE = 53,
00103 SDL_SCANCODE_COMMA = 54,
00104 SDL_SCANCODE_PERIOD = 55,
00105 SDL_SCANCODE_SLASH = 56,
00106
00107 SDL_SCANCODE_CAPSLOCK = 57,
00108
00109 SDL_SCANCODE_F1 = 58,
00110 SDL_SCANCODE_F2 = 59,
00111 SDL_SCANCODE_F3 = 60,
00112 SDL_SCANCODE_F4 = 61,
00113 SDL_SCANCODE_F5 = 62,
00114 SDL_SCANCODE_F6 = 63,
00115 SDL_SCANCODE_F7 = 64,
00116 SDL_SCANCODE_F8 = 65,
00117 SDL_SCANCODE_F9 = 66,
00118 SDL_SCANCODE_F10 = 67,
00119 SDL_SCANCODE_F11 = 68,
00120 SDL_SCANCODE_F12 = 69,
00121
00122 SDL_SCANCODE_PRINTSCREEN = 70,
00123 SDL_SCANCODE_SCROLLLOCK = 71,
00124 SDL_SCANCODE_PAUSE = 72,
00125 SDL_SCANCODE_INSERT = 73,
00126 SDL_SCANCODE_HOME = 74,
00127 SDL_SCANCODE_PAGEUP = 75,
00128 SDL_SCANCODE_DELETE = 76,
00129 SDL_SCANCODE_END = 77,
00130 SDL_SCANCODE_PAGEDOWN = 78,
00131 SDL_SCANCODE_RIGHT = 79,
00132 SDL_SCANCODE_LEFT = 80,
00133 SDL_SCANCODE_DOWN = 81,
00134 SDL_SCANCODE_UP = 82,
00135
00136 SDL_SCANCODE_NUMLOCKCLEAR = 83,
00137 SDL_SCANCODE_KP_DIVIDE = 84,
00138 SDL_SCANCODE_KP_MULTIPLY = 85,
00139 SDL_SCANCODE_KP_MINUS = 86,
00140 SDL_SCANCODE_KP_PLUS = 87,
00141 SDL_SCANCODE_KP_ENTER = 88,
00142 SDL_SCANCODE_KP_1 = 89,
00143 SDL_SCANCODE_KP_2 = 90,
00144 SDL_SCANCODE_KP_3 = 91,
00145 SDL_SCANCODE_KP_4 = 92,
00146 SDL_SCANCODE_KP_5 = 93,
00147 SDL_SCANCODE_KP_6 = 94,
00148 SDL_SCANCODE_KP_7 = 95,
00149 SDL_SCANCODE_KP_8 = 96,
00150 SDL_SCANCODE_KP_9 = 97,
00151 SDL_SCANCODE_KP_0 = 98,
00152 SDL_SCANCODE_KP_PERIOD = 99,
00153
00154 SDL_SCANCODE_NONUSBACKSLASH = 100,
00155 SDL_SCANCODE_APPLICATION = 101,
00156 SDL_SCANCODE_POWER = 102,
00157 SDL_SCANCODE_KP_EQUALS = 103,
00158 SDL_SCANCODE_F13 = 104,
00159 SDL_SCANCODE_F14 = 105,
00160 SDL_SCANCODE_F15 = 106,
00161 SDL_SCANCODE_F16 = 107,
00162 SDL_SCANCODE_F17 = 108,
00163 SDL_SCANCODE_F18 = 109,
00164 SDL_SCANCODE_F19 = 110,
00165 SDL_SCANCODE_F20 = 111,
00166 SDL_SCANCODE_F21 = 112,
00167 SDL_SCANCODE_F22 = 113,
00168 SDL_SCANCODE_F23 = 114,
00169 SDL_SCANCODE_F24 = 115,
00170 SDL_SCANCODE_EXECUTE = 116,
00171 SDL_SCANCODE_HELP = 117,
00172 SDL_SCANCODE_MENU = 118,
00173 SDL_SCANCODE_SELECT = 119,
00174 SDL_SCANCODE_STOP = 120,
00175 SDL_SCANCODE_AGAIN = 121,
00176 SDL_SCANCODE_UNDO = 122,
00177 SDL_SCANCODE_CUT = 123,
00178 SDL_SCANCODE_COPY = 124,
00179 SDL_SCANCODE_PASTE = 125,
00180 SDL_SCANCODE_FIND = 126,
00181 SDL_SCANCODE_MUTE = 127,
00182 SDL_SCANCODE_VOLUMEUP = 128,
00183 SDL_SCANCODE_VOLUMEDOWN = 129,
00184
00185
00186
00187
00188 SDL_SCANCODE_KP_COMMA = 133,
00189 SDL_SCANCODE_KP_EQUALSAS400 = 134,
00190
00191 SDL_SCANCODE_INTERNATIONAL1 = 135,
00192 SDL_SCANCODE_INTERNATIONAL2 = 136,
00193 SDL_SCANCODE_INTERNATIONAL3 = 137,
00194 SDL_SCANCODE_INTERNATIONAL4 = 138,
00195 SDL_SCANCODE_INTERNATIONAL5 = 139,
00196 SDL_SCANCODE_INTERNATIONAL6 = 140,
00197 SDL_SCANCODE_INTERNATIONAL7 = 141,
00198 SDL_SCANCODE_INTERNATIONAL8 = 142,
00199 SDL_SCANCODE_INTERNATIONAL9 = 143,
00200 SDL_SCANCODE_LANG1 = 144,
00201 SDL_SCANCODE_LANG2 = 145,
00202 SDL_SCANCODE_LANG3 = 146,
00203 SDL_SCANCODE_LANG4 = 147,
00204 SDL_SCANCODE_LANG5 = 148,
00205 SDL_SCANCODE_LANG6 = 149,
00206 SDL_SCANCODE_LANG7 = 150,
00207 SDL_SCANCODE_LANG8 = 151,
00208 SDL_SCANCODE_LANG9 = 152,
00210 SDL_SCANCODE_ALTERASE = 153,
00211 SDL_SCANCODE_SYSREQ = 154,
00212 SDL_SCANCODE_CANCEL = 155,
00213 SDL_SCANCODE_CLEAR = 156,
00214 SDL_SCANCODE_PRIOR = 157,
00215 SDL_SCANCODE_RETURN2 = 158,
00216 SDL_SCANCODE_SEPARATOR = 159,
00217 SDL_SCANCODE_OUT = 160,
00218 SDL_SCANCODE_OPER = 161,
00219 SDL_SCANCODE_CLEARAGAIN = 162,
00220 SDL_SCANCODE_CRSEL = 163,
00221 SDL_SCANCODE_EXSEL = 164,
00222
00223 SDL_SCANCODE_KP_00 = 176,
00224 SDL_SCANCODE_KP_000 = 177,
00225 SDL_SCANCODE_THOUSANDSSEPARATOR = 178,
00226 SDL_SCANCODE_DECIMALSEPARATOR = 179,
00227 SDL_SCANCODE_CURRENCYUNIT = 180,
00228 SDL_SCANCODE_CURRENCYSUBUNIT = 181,
00229 SDL_SCANCODE_KP_LEFTPAREN = 182,
00230 SDL_SCANCODE_KP_RIGHTPAREN = 183,
00231 SDL_SCANCODE_KP_LEFTBRACE = 184,
00232 SDL_SCANCODE_KP_RIGHTBRACE = 185,
00233 SDL_SCANCODE_KP_TAB = 186,
00234 SDL_SCANCODE_KP_BACKSPACE = 187,
00235 SDL_SCANCODE_KP_A = 188,
00236 SDL_SCANCODE_KP_B = 189,
00237 SDL_SCANCODE_KP_C = 190,
00238 SDL_SCANCODE_KP_D = 191,
00239 SDL_SCANCODE_KP_E = 192,
00240 SDL_SCANCODE_KP_F = 193,
00241 SDL_SCANCODE_KP_XOR = 194,
00242 SDL_SCANCODE_KP_POWER = 195,
00243 SDL_SCANCODE_KP_PERCENT = 196,
00244 SDL_SCANCODE_KP_LESS = 197,
00245 SDL_SCANCODE_KP_GREATER = 198,
00246 SDL_SCANCODE_KP_AMPERSAND = 199,
00247 SDL_SCANCODE_KP_DBLAMPERSAND = 200,
00248 SDL_SCANCODE_KP_VERTICALBAR = 201,
00249 SDL_SCANCODE_KP_DBLVERTICALBAR = 202,
00250 SDL_SCANCODE_KP_COLON = 203,
00251 SDL_SCANCODE_KP_HASH = 204,
00252 SDL_SCANCODE_KP_SPACE = 205,
00253 SDL_SCANCODE_KP_AT = 206,
00254 SDL_SCANCODE_KP_EXCLAM = 207,
00255 SDL_SCANCODE_KP_MEMSTORE = 208,
00256 SDL_SCANCODE_KP_MEMRECALL = 209,
00257 SDL_SCANCODE_KP_MEMCLEAR = 210,
00258 SDL_SCANCODE_KP_MEMADD = 211,
00259 SDL_SCANCODE_KP_MEMSUBTRACT = 212,
00260 SDL_SCANCODE_KP_MEMMULTIPLY = 213,
00261 SDL_SCANCODE_KP_MEMDIVIDE = 214,
00262 SDL_SCANCODE_KP_PLUSMINUS = 215,
00263 SDL_SCANCODE_KP_CLEAR = 216,
00264 SDL_SCANCODE_KP_CLEARENTRY = 217,
00265 SDL_SCANCODE_KP_BINARY = 218,
00266 SDL_SCANCODE_KP_OCTAL = 219,
00267 SDL_SCANCODE_KP_DECIMAL = 220,
00268 SDL_SCANCODE_KP_HEXADECIMAL = 221,
00269
00270 SDL_SCANCODE_LCTRL = 224,
00271 SDL_SCANCODE_LSHIFT = 225,
00272 SDL_SCANCODE_LALT = 226,
00273 SDL_SCANCODE_LGUI = 227,
00274 SDL_SCANCODE_RCTRL = 228,
00275 SDL_SCANCODE_RSHIFT = 229,
00276 SDL_SCANCODE_RALT = 230,
00277 SDL_SCANCODE_RGUI = 231,
00279 SDL_SCANCODE_MODE = 257,
00280
00281
00282
00283 SDL_SCANCODE_AUDIONEXT = 258,
00284 SDL_SCANCODE_AUDIOPREV = 259,
00285 SDL_SCANCODE_AUDIOSTOP = 260,
00286 SDL_SCANCODE_AUDIOPLAY = 261,
00287 SDL_SCANCODE_AUDIOMUTE = 262,
00288 SDL_SCANCODE_MEDIASELECT = 263,
00289 SDL_SCANCODE_WWW = 264,
00290 SDL_SCANCODE_MAIL = 265,
00291 SDL_SCANCODE_CALCULATOR = 266,
00292 SDL_SCANCODE_COMPUTER = 267,
00293 SDL_SCANCODE_AC_SEARCH = 268,
00294 SDL_SCANCODE_AC_HOME = 269,
00295 SDL_SCANCODE_AC_BACK = 270,
00296 SDL_SCANCODE_AC_FORWARD = 271,
00297 SDL_SCANCODE_AC_STOP = 272,
00298 SDL_SCANCODE_AC_REFRESH = 273,
00299 SDL_SCANCODE_AC_BOOKMARKS = 274,
00300
00301
00302
00303 SDL_SCANCODE_BRIGHTNESSDOWN = 275,
00304 SDL_SCANCODE_BRIGHTNESSUP = 276,
00305 SDL_SCANCODE_DISPLAYSWITCH = 277,
00306 SDL_SCANCODE_KBDILLUMTOGGLE = 278,
00307 SDL_SCANCODE_KBDILLUMDOWN = 279,
00308 SDL_SCANCODE_KBDILLUMUP = 280,
00309 SDL_SCANCODE_EJECT = 281,
00310 SDL_SCANCODE_SLEEP = 282,
00311
00312
00313
00314 SDL_NUM_SCANCODES = 512
00315 } SDL_scancode;
00316
00317 #endif
00318
00319