src/events/scancodes_windows.h
changeset 6922 91d157d9f283
parent 6885 700f1b25f77f
child 6925 59fedfb8faaf
     1.1 --- a/src/events/scancodes_windows.h	Mon Feb 25 08:05:26 2013 -0800
     1.2 +++ b/src/events/scancodes_windows.h	Mon Feb 25 16:52:42 2013 -0800
     1.3 @@ -25,262 +25,35 @@
     1.4     - msdn.microsoft.com
     1.5  */
     1.6  /* *INDENT-OFF* */
     1.7 -static const SDL_Scancode windows_scancode_table[] = {
     1.8 -    /*  0, 0x00 */      SDL_SCANCODE_UNKNOWN,
     1.9 -    /*  1, 0x01 */      SDL_SCANCODE_UNKNOWN,
    1.10 -    /*  2, 0x02 */      SDL_SCANCODE_UNKNOWN,
    1.11 -    /*  3, 0x03 */      SDL_SCANCODE_UNKNOWN,
    1.12 -    /*  4, 0x04 */      SDL_SCANCODE_UNKNOWN,
    1.13 -    /*  5, 0x05 */      SDL_SCANCODE_UNKNOWN,
    1.14 -    /*  6, 0x06 */      SDL_SCANCODE_UNKNOWN,
    1.15 -    /*  7, 0x07 */      SDL_SCANCODE_UNKNOWN,
    1.16 -    /*  8, 0x08 */      SDL_SCANCODE_BACKSPACE,
    1.17 -    /*  9, 0x09 */      SDL_SCANCODE_TAB,
    1.18 -    /*  10, 0x0a */     SDL_SCANCODE_KP_ENTER, /* Not a VKEY, SDL specific */
    1.19 -    /*  11, 0x0b */     SDL_SCANCODE_UNKNOWN,
    1.20 -    /*  12, 0x0c */     SDL_SCANCODE_CLEAR,
    1.21 -    /*  13, 0x0d */     SDL_SCANCODE_RETURN,
    1.22 -    /*  14, 0x0e */     SDL_SCANCODE_UNKNOWN,
    1.23 -    /*  15, 0x0f */     SDL_SCANCODE_UNKNOWN,
    1.24 -    /*  16, 0x10 */     SDL_SCANCODE_UNKNOWN,
    1.25 -    /*  17, 0x11 */     SDL_SCANCODE_UNKNOWN,
    1.26 -    /*  18, 0x12 */     SDL_SCANCODE_APPLICATION,
    1.27 -    /*  19, 0x13 */     SDL_SCANCODE_PAUSE,
    1.28 -    /*  20, 0x14 */     SDL_SCANCODE_CAPSLOCK,
    1.29 -    /*  21, 0x15 */     SDL_SCANCODE_UNKNOWN,
    1.30 -    /*  22, 0x16 */     SDL_SCANCODE_UNKNOWN,
    1.31 -    /*  23, 0x17 */     SDL_SCANCODE_UNKNOWN,
    1.32 -    /*  24, 0x18 */     SDL_SCANCODE_UNKNOWN,
    1.33 -    /*  25, 0x19 */     SDL_SCANCODE_UNKNOWN,
    1.34 -    /*  26, 0x1a */     SDL_SCANCODE_UNKNOWN,
    1.35 -    /*  27, 0x1b */     SDL_SCANCODE_ESCAPE,
    1.36 -    /*  28, 0x1c */     SDL_SCANCODE_UNKNOWN,
    1.37 -    /*  29, 0x1d */     SDL_SCANCODE_UNKNOWN,
    1.38 -    /*  30, 0x1e */     SDL_SCANCODE_UNKNOWN,
    1.39 -    /*  31, 0x1f */     SDL_SCANCODE_MODE,
    1.40 -    /*  32, 0x20 */     SDL_SCANCODE_SPACE,
    1.41 -    /*  33, 0x21 */     SDL_SCANCODE_PAGEUP,
    1.42 -    /*  34, 0x22 */     SDL_SCANCODE_PAGEDOWN,
    1.43 -    /*  35, 0x23 */     SDL_SCANCODE_END,
    1.44 -    /*  36, 0x24 */     SDL_SCANCODE_HOME,
    1.45 -    /*  37, 0x25 */     SDL_SCANCODE_LEFT,
    1.46 -    /*  38, 0x26 */     SDL_SCANCODE_UP,
    1.47 -    /*  39, 0x27 */     SDL_SCANCODE_RIGHT,
    1.48 -    /*  40, 0x28 */     SDL_SCANCODE_DOWN,
    1.49 -    /*  41, 0x29 */     SDL_SCANCODE_SELECT,
    1.50 -    /*  42, 0x2a */     SDL_SCANCODE_UNKNOWN, /* VK_PRINT */
    1.51 -    /*  43, 0x2b */     SDL_SCANCODE_EXECUTE,
    1.52 -    /*  44, 0x2c */     SDL_SCANCODE_PRINTSCREEN,
    1.53 -    /*  45, 0x2d */     SDL_SCANCODE_INSERT,
    1.54 -    /*  46, 0x2e */     SDL_SCANCODE_DELETE,
    1.55 -    /*  47, 0x2f */     SDL_SCANCODE_HELP,
    1.56 -    /*  48, 0x30 */     SDL_SCANCODE_0,
    1.57 -    /*  49, 0x31 */     SDL_SCANCODE_1,
    1.58 -    /*  50, 0x32 */     SDL_SCANCODE_2,
    1.59 -    /*  51, 0x33 */     SDL_SCANCODE_3,
    1.60 -    /*  52, 0x34 */     SDL_SCANCODE_4,
    1.61 -    /*  53, 0x35 */     SDL_SCANCODE_5,
    1.62 -    /*  54, 0x36 */     SDL_SCANCODE_6,
    1.63 -    /*  55, 0x37 */     SDL_SCANCODE_7,
    1.64 -    /*  56, 0x38 */     SDL_SCANCODE_8,
    1.65 -    /*  57, 0x39 */     SDL_SCANCODE_9,
    1.66 -    /*  58, 0x3a */     SDL_SCANCODE_UNKNOWN,
    1.67 -    /*  59, 0x3b */     SDL_SCANCODE_UNKNOWN,
    1.68 -    /*  60, 0x3c */     SDL_SCANCODE_UNKNOWN,
    1.69 -    /*  61, 0x3d */     SDL_SCANCODE_UNKNOWN,
    1.70 -    /*  62, 0x3e */     SDL_SCANCODE_UNKNOWN,
    1.71 -    /*  63, 0x3f */     SDL_SCANCODE_UNKNOWN,
    1.72 -    /*  64, 0x40 */     SDL_SCANCODE_UNKNOWN,
    1.73 -    /*  65, 0x41 */     SDL_SCANCODE_A,
    1.74 -    /*  66, 0x42 */     SDL_SCANCODE_B,
    1.75 -    /*  67, 0x43 */     SDL_SCANCODE_C,
    1.76 -    /*  68, 0x44 */     SDL_SCANCODE_D,
    1.77 -    /*  69, 0x45 */     SDL_SCANCODE_E,
    1.78 -    /*  70, 0x46 */     SDL_SCANCODE_F,
    1.79 -    /*  71, 0x47 */     SDL_SCANCODE_G,
    1.80 -    /*  72, 0x48 */     SDL_SCANCODE_H,
    1.81 -    /*  73, 0x49 */     SDL_SCANCODE_I,
    1.82 -    /*  74, 0x4a */     SDL_SCANCODE_J,
    1.83 -    /*  75, 0x4b */     SDL_SCANCODE_K,
    1.84 -    /*  76, 0x4c */     SDL_SCANCODE_L,
    1.85 -    /*  77, 0x4d */     SDL_SCANCODE_M,
    1.86 -    /*  78, 0x4e */     SDL_SCANCODE_N,
    1.87 -    /*  79, 0x4f */     SDL_SCANCODE_O,
    1.88 -    /*  80, 0x50 */     SDL_SCANCODE_P,
    1.89 -    /*  81, 0x51 */     SDL_SCANCODE_Q,
    1.90 -    /*  82, 0x52 */     SDL_SCANCODE_R,
    1.91 -    /*  83, 0x53 */     SDL_SCANCODE_S,
    1.92 -    /*  84, 0x54 */     SDL_SCANCODE_T,
    1.93 -    /*  85, 0x55 */     SDL_SCANCODE_U,
    1.94 -    /*  86, 0x56 */     SDL_SCANCODE_V,
    1.95 -    /*  87, 0x57 */     SDL_SCANCODE_W,
    1.96 -    /*  88, 0x58 */     SDL_SCANCODE_X,
    1.97 -    /*  89, 0x59 */     SDL_SCANCODE_Y,
    1.98 -    /*  90, 0x5a */     SDL_SCANCODE_Z,
    1.99 -    /*  91, 0x5b */     SDL_SCANCODE_LGUI,
   1.100 -    /*  92, 0x5c */     SDL_SCANCODE_RGUI,
   1.101 -    /*  93, 0x5d */     SDL_SCANCODE_APPLICATION,
   1.102 -    /*  94, 0x5e */     SDL_SCANCODE_UNKNOWN,
   1.103 -    /*  95, 0x5f */     SDL_SCANCODE_UNKNOWN,
   1.104 -    /*  96, 0x60 */     SDL_SCANCODE_KP_0,
   1.105 -    /*  97, 0x61 */     SDL_SCANCODE_KP_1,
   1.106 -    /*  98, 0x62 */     SDL_SCANCODE_KP_2,
   1.107 -    /*  99, 0x63 */     SDL_SCANCODE_KP_3,
   1.108 -    /*  100, 0x64 */    SDL_SCANCODE_KP_4,
   1.109 -    /*  101, 0x65 */    SDL_SCANCODE_KP_5,
   1.110 -    /*  102, 0x66 */    SDL_SCANCODE_KP_6,
   1.111 -    /*  103, 0x67 */    SDL_SCANCODE_KP_7,
   1.112 -    /*  104, 0x68 */    SDL_SCANCODE_KP_8,
   1.113 -    /*  105, 0x69 */    SDL_SCANCODE_KP_9,
   1.114 -    /*  106, 0x6a */    SDL_SCANCODE_KP_MULTIPLY,
   1.115 -    /*  107, 0x6b */    SDL_SCANCODE_KP_PLUS,
   1.116 -    /*  108, 0x6c */    SDL_SCANCODE_SEPARATOR,
   1.117 -    /*  109, 0x6d */    SDL_SCANCODE_KP_MINUS,
   1.118 -    /*  110, 0x6e */    SDL_SCANCODE_KP_DECIMAL,
   1.119 -    /*  111, 0x6f */    SDL_SCANCODE_KP_DIVIDE,
   1.120 -    /*  112, 0x70 */    SDL_SCANCODE_F1,
   1.121 -    /*  113, 0x71 */    SDL_SCANCODE_F2,
   1.122 -    /*  114, 0x72 */    SDL_SCANCODE_F3,
   1.123 -    /*  115, 0x73 */    SDL_SCANCODE_F4,
   1.124 -    /*  116, 0x74 */    SDL_SCANCODE_F5,
   1.125 -    /*  117, 0x75 */    SDL_SCANCODE_F6,
   1.126 -    /*  118, 0x76 */    SDL_SCANCODE_F7,
   1.127 -    /*  119, 0x77 */    SDL_SCANCODE_F8,
   1.128 -    /*  120, 0x78 */    SDL_SCANCODE_F9,
   1.129 -    /*  121, 0x79 */    SDL_SCANCODE_F10,
   1.130 -    /*  122, 0x7a */    SDL_SCANCODE_F11,
   1.131 -    /*  123, 0x7b */    SDL_SCANCODE_F12,
   1.132 -    /*  124, 0x7c */    SDL_SCANCODE_F13,
   1.133 -    /*  125, 0x7d */    SDL_SCANCODE_F14,
   1.134 -    /*  126, 0x7e */    SDL_SCANCODE_F15,
   1.135 -    /*  127, 0x7f */    SDL_SCANCODE_F16,
   1.136 -    /*  128, 0x80 */    SDL_SCANCODE_F17, /* or SDL_SCANCODE_AUDIONEXT */
   1.137 -    /*  129, 0x81 */    SDL_SCANCODE_F18, /* or SDL_SCANCODE_AUDIOPREV */
   1.138 -    /*  130, 0x82 */    SDL_SCANCODE_F19, /* or SDL_SCANCODE_AUDIOSTOP */
   1.139 -    /*  131, 0x83 */    SDL_SCANCODE_F20, /* or SDL_SCANCODE_AUDIOPLAY */
   1.140 -    /*  132, 0x84 */    SDL_SCANCODE_F21, /* or SDL_SCANCODE_MAIL */
   1.141 -    /*  133, 0x85 */    SDL_SCANCODE_F22, /* or SDL_SCANCODE_MEDIASELECT */
   1.142 -    /*  134, 0x86 */    SDL_SCANCODE_F23, /* or SDL_SCANCODE_WWW */
   1.143 -    /*  135, 0x87 */    SDL_SCANCODE_F24, /* or SDL_SCANCODE_CALCULATOR */
   1.144 -    /*  136, 0x88 */    SDL_SCANCODE_UNKNOWN,
   1.145 -    /*  137, 0x89 */    SDL_SCANCODE_UNKNOWN,
   1.146 -    /*  138, 0x8a */    SDL_SCANCODE_UNKNOWN,
   1.147 -    /*  139, 0x8b */    SDL_SCANCODE_UNKNOWN,
   1.148 -    /*  140, 0x8c */    SDL_SCANCODE_UNKNOWN,
   1.149 -    /*  141, 0x8d */    SDL_SCANCODE_UNKNOWN,
   1.150 -    /*  142, 0x8e */    SDL_SCANCODE_UNKNOWN,
   1.151 -    /*  143, 0x8f */    SDL_SCANCODE_UNKNOWN,
   1.152 -    /*  144, 0x90 */    SDL_SCANCODE_NUMLOCKCLEAR,
   1.153 -    /*  145, 0x91 */    SDL_SCANCODE_SCROLLLOCK,
   1.154 -    /*  146, 0x92 */    SDL_SCANCODE_KP_EQUALS,
   1.155 -    /*  147, 0x93 */    SDL_SCANCODE_UNKNOWN,
   1.156 -    /*  148, 0x94 */    SDL_SCANCODE_UNKNOWN,
   1.157 -    /*  149, 0x95 */    SDL_SCANCODE_UNKNOWN,
   1.158 -    /*  150, 0x96 */    SDL_SCANCODE_UNKNOWN,
   1.159 -    /*  151, 0x97 */    SDL_SCANCODE_UNKNOWN,
   1.160 -    /*  152, 0x98 */    SDL_SCANCODE_UNKNOWN,
   1.161 -    /*  153, 0x99 */    SDL_SCANCODE_UNKNOWN,
   1.162 -    /*  154, 0x9a */    SDL_SCANCODE_UNKNOWN,
   1.163 -    /*  155, 0x9b */    SDL_SCANCODE_UNKNOWN,
   1.164 -    /*  156, 0x9c */    SDL_SCANCODE_UNKNOWN,
   1.165 -    /*  157, 0x9d */    SDL_SCANCODE_UNKNOWN,
   1.166 -    /*  158, 0x9e */    SDL_SCANCODE_UNKNOWN,
   1.167 -    /*  159, 0x9f */    SDL_SCANCODE_UNKNOWN,
   1.168 -    /*  160, 0xa0 */    SDL_SCANCODE_LSHIFT,
   1.169 -    /*  161, 0xa1 */    SDL_SCANCODE_RSHIFT,
   1.170 -    /*  162, 0xa2 */    SDL_SCANCODE_LCTRL,
   1.171 -    /*  163, 0xa3 */    SDL_SCANCODE_RCTRL,
   1.172 -    /*  164, 0xa4 */    SDL_SCANCODE_LALT,
   1.173 -    /*  165, 0xa5 */    SDL_SCANCODE_RALT,
   1.174 -    /*  166, 0xa6 */    SDL_SCANCODE_AC_BACK,
   1.175 -    /*  167, 0xa7 */    SDL_SCANCODE_AC_FORWARD,
   1.176 -    /*  168, 0xa8 */    SDL_SCANCODE_AC_REFRESH,
   1.177 -    /*  169, 0xa9 */    SDL_SCANCODE_AC_STOP,
   1.178 -    /*  170, 0xaa */    SDL_SCANCODE_AC_SEARCH,
   1.179 -    /*  171, 0xab */    SDL_SCANCODE_AC_BOOKMARKS,
   1.180 -    /*  172, 0xac */    SDL_SCANCODE_AC_HOME,
   1.181 -    /*  173, 0xad */    SDL_SCANCODE_AUDIOMUTE,
   1.182 -    /*  174, 0xae */    SDL_SCANCODE_VOLUMEDOWN,
   1.183 -    /*  175, 0xaf */    SDL_SCANCODE_VOLUMEUP,
   1.184 -    /*  176, 0xb0 */    SDL_SCANCODE_AUDIONEXT,
   1.185 -    /*  177, 0xb1 */    SDL_SCANCODE_AUDIOPREV,
   1.186 -    /*  178, 0xb2 */    SDL_SCANCODE_AUDIOSTOP,
   1.187 -    /*  179, 0xb3 */    SDL_SCANCODE_AUDIOPLAY,
   1.188 -    /*  180, 0xb4 */    SDL_SCANCODE_MAIL,
   1.189 -    /*  181, 0xb5 */    SDL_SCANCODE_MEDIASELECT,
   1.190 -    /*  182, 0xb6 */    SDL_SCANCODE_UNKNOWN, /* VK_LAUNCH_APP1 */
   1.191 -    /*  183, 0xb7 */    SDL_SCANCODE_UNKNOWN, /* VK_LAUNCH_APP2 */
   1.192 -    /*  184, 0xb8 */    SDL_SCANCODE_UNKNOWN,
   1.193 -    /*  185, 0xb9 */    SDL_SCANCODE_UNKNOWN,
   1.194 -    /*  186, 0xba */    SDL_SCANCODE_SEMICOLON,
   1.195 -    /*  187, 0xbb */    SDL_SCANCODE_EQUALS,
   1.196 -    /*  188, 0xbc */    SDL_SCANCODE_COMMA,
   1.197 -    /*  189, 0xbd */    SDL_SCANCODE_MINUS,
   1.198 -    /*  190, 0xbe */    SDL_SCANCODE_PERIOD,
   1.199 -    /*  191, 0xbf */    SDL_SCANCODE_SLASH,
   1.200 -    /*  192, 0xc0 */    SDL_SCANCODE_GRAVE,
   1.201 -    /*  193, 0xc1 */    SDL_SCANCODE_UNKNOWN,
   1.202 -    /*  194, 0xc2 */    SDL_SCANCODE_UNKNOWN,
   1.203 -    /*  195, 0xc3 */    SDL_SCANCODE_UNKNOWN,
   1.204 -    /*  196, 0xc4 */    SDL_SCANCODE_UNKNOWN,
   1.205 -    /*  197, 0xc5 */    SDL_SCANCODE_UNKNOWN,
   1.206 -    /*  198, 0xc6 */    SDL_SCANCODE_UNKNOWN,
   1.207 -    /*  199, 0xc7 */    SDL_SCANCODE_UNKNOWN,
   1.208 -    /*  200, 0xc8 */    SDL_SCANCODE_UNKNOWN,
   1.209 -    /*  201, 0xc9 */    SDL_SCANCODE_UNKNOWN,
   1.210 -    /*  202, 0xca */    SDL_SCANCODE_UNKNOWN,
   1.211 -    /*  203, 0xcb */    SDL_SCANCODE_UNKNOWN,
   1.212 -    /*  204, 0xcc */    SDL_SCANCODE_UNKNOWN,
   1.213 -    /*  205, 0xcd */    SDL_SCANCODE_UNKNOWN,
   1.214 -    /*  206, 0xce */    SDL_SCANCODE_UNKNOWN,
   1.215 -    /*  207, 0xcf */    SDL_SCANCODE_UNKNOWN,
   1.216 -    /*  208, 0xd0 */    SDL_SCANCODE_UNKNOWN,
   1.217 -    /*  209, 0xd1 */    SDL_SCANCODE_UNKNOWN,
   1.218 -    /*  210, 0xd2 */    SDL_SCANCODE_UNKNOWN,
   1.219 -    /*  211, 0xd3 */    SDL_SCANCODE_UNKNOWN,
   1.220 -    /*  212, 0xd4 */    SDL_SCANCODE_UNKNOWN,
   1.221 -    /*  213, 0xd5 */    SDL_SCANCODE_UNKNOWN,
   1.222 -    /*  214, 0xd6 */    SDL_SCANCODE_UNKNOWN,
   1.223 -    /*  215, 0xd7 */    SDL_SCANCODE_UNKNOWN,
   1.224 -    /*  216, 0xd8 */    SDL_SCANCODE_UNKNOWN,
   1.225 -    /*  217, 0xd9 */    SDL_SCANCODE_UNKNOWN,
   1.226 -    /*  218, 0xda */    SDL_SCANCODE_UNKNOWN,
   1.227 -    /*  219, 0xdb */    SDL_SCANCODE_LEFTBRACKET,
   1.228 -    /*  220, 0xdc */    SDL_SCANCODE_BACKSLASH,
   1.229 -    /*  221, 0xdd */    SDL_SCANCODE_RIGHTBRACKET,
   1.230 -    /*  222, 0xde */    SDL_SCANCODE_APOSTROPHE,
   1.231 -    /*  223, 0xdf */    SDL_SCANCODE_UNKNOWN,
   1.232 -    /*  224, 0xe0 */    SDL_SCANCODE_UNKNOWN,
   1.233 -    /*  225, 0xe1 */    SDL_SCANCODE_UNKNOWN,
   1.234 -    /*  226, 0xe2 */    SDL_SCANCODE_NONUSBACKSLASH,
   1.235 -    /*  227, 0xe3 */    SDL_SCANCODE_UNKNOWN,
   1.236 -    /*  228, 0xe4 */    SDL_SCANCODE_UNKNOWN,
   1.237 -    /*  229, 0xe5 */    SDL_SCANCODE_UNKNOWN,
   1.238 -    /*  230, 0xe6 */    SDL_SCANCODE_UNKNOWN,
   1.239 -    /*  231, 0xe7 */    SDL_SCANCODE_UNKNOWN,
   1.240 -    /*  232, 0xe8 */    SDL_SCANCODE_UNKNOWN,
   1.241 -    /*  233, 0xe9 */    SDL_SCANCODE_UNKNOWN,
   1.242 -    /*  234, 0xea */    SDL_SCANCODE_UNKNOWN,
   1.243 -    /*  235, 0xeb */    SDL_SCANCODE_UNKNOWN,
   1.244 -    /*  236, 0xec */    SDL_SCANCODE_UNKNOWN,
   1.245 -    /*  237, 0xed */    SDL_SCANCODE_UNKNOWN,
   1.246 -    /*  238, 0xee */    SDL_SCANCODE_UNKNOWN,
   1.247 -    /*  239, 0xef */    SDL_SCANCODE_UNKNOWN,
   1.248 -    /*  240, 0xf0 */    SDL_SCANCODE_UNKNOWN,
   1.249 -    /*  241, 0xf1 */    SDL_SCANCODE_UNKNOWN,
   1.250 -    /*  242, 0xf2 */    SDL_SCANCODE_UNKNOWN,
   1.251 -    /*  243, 0xf3 */    SDL_SCANCODE_UNKNOWN,
   1.252 -    /*  244, 0xf4 */    SDL_SCANCODE_UNKNOWN,
   1.253 -    /*  245, 0xf5 */    SDL_SCANCODE_UNKNOWN,
   1.254 -    /*  246, 0xf6 */    SDL_SCANCODE_SYSREQ,
   1.255 -    /*  247, 0xf7 */    SDL_SCANCODE_CRSEL,
   1.256 -    /*  248, 0xf8 */    SDL_SCANCODE_EXSEL,
   1.257 -    /*  249, 0xf9 */    SDL_SCANCODE_UNKNOWN, /* VK_EREOF */
   1.258 -    /*  250, 0xfa */    SDL_SCANCODE_UNKNOWN, /* VK_PLAY */
   1.259 -    /*  251, 0xfb */    SDL_SCANCODE_UNKNOWN, /* VK_ZOOM */
   1.260 -    /*  252, 0xfc */    SDL_SCANCODE_UNKNOWN,
   1.261 -    /*  253, 0xfd */    SDL_SCANCODE_UNKNOWN, /* VK_PA1 */
   1.262 -    /*  254, 0xfe */    SDL_SCANCODE_CLEAR,
   1.263 -    /*  255, 0xff */    SDL_SCANCODE_UNKNOWN,
   1.264 +// this maps non-translated keyboard scan codes to engine key codes
   1.265 +// Google for 'Keyboard Scan Code Specification'
   1.266 +static const SDL_Scancode windows_scancode_table[] = 
   1.267 +{ 
   1.268 +	//	0						1							2						3						4							5							6						7 
   1.269 +	//	8						9							A						B						C							D							E						F 
   1.270 +	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_ESCAPE,		SDL_SCANCODE_1,			SDL_SCANCODE_2,				SDL_SCANCODE_3,			SDL_SCANCODE_4,				SDL_SCANCODE_5,			SDL_SCANCODE_6,			// 0
   1.271 +	SDL_SCANCODE_7,				SDL_SCANCODE_8,				SDL_SCANCODE_9,			SDL_SCANCODE_0,				SDL_SCANCODE_MINUS,		SDL_SCANCODE_EQUALS,		SDL_SCANCODE_BACKSPACE,	SDL_SCANCODE_TAB,		// 0 
   1.272 +
   1.273 +	SDL_SCANCODE_Q,				SDL_SCANCODE_W,			SDL_SCANCODE_E,				SDL_SCANCODE_R,				SDL_SCANCODE_T,			SDL_SCANCODE_Y,				SDL_SCANCODE_U,			SDL_SCANCODE_I,			// 1
   1.274 +	SDL_SCANCODE_O,				SDL_SCANCODE_P,			SDL_SCANCODE_LEFTBRACKET,	SDL_SCANCODE_RIGHTBRACKET,	SDL_SCANCODE_RETURN,	SDL_SCANCODE_LCTRL,			SDL_SCANCODE_A,			SDL_SCANCODE_S,			// 1 
   1.275 +
   1.276 +	SDL_SCANCODE_D,				SDL_SCANCODE_F,			SDL_SCANCODE_G,				SDL_SCANCODE_H,				SDL_SCANCODE_J,			SDL_SCANCODE_K,				SDL_SCANCODE_L,			SDL_SCANCODE_SEMICOLON,	// 2 
   1.277 +	SDL_SCANCODE_APOSTROPHE,	SDL_SCANCODE_GRAVE,		SDL_SCANCODE_LSHIFT,		SDL_SCANCODE_BACKSLASH,		SDL_SCANCODE_Z,			SDL_SCANCODE_X,				SDL_SCANCODE_C,			SDL_SCANCODE_V,			// 2 
   1.278 +
   1.279 +	SDL_SCANCODE_B,				SDL_SCANCODE_N,			SDL_SCANCODE_M,				SDL_SCANCODE_COMMA,			SDL_SCANCODE_PERIOD,	SDL_SCANCODE_SLASH,			SDL_SCANCODE_RSHIFT,	SDL_SCANCODE_PRINTSCREEN,// 3
   1.280 +	SDL_SCANCODE_LALT,			SDL_SCANCODE_SPACE,		SDL_SCANCODE_CAPSLOCK,		SDL_SCANCODE_F1,			SDL_SCANCODE_F2,		SDL_SCANCODE_F3,			SDL_SCANCODE_F4,		SDL_SCANCODE_F5,			// 3 
   1.281 +
   1.282 +	SDL_SCANCODE_F6,			SDL_SCANCODE_F7,		SDL_SCANCODE_F8,			SDL_SCANCODE_F9,			SDL_SCANCODE_F10,		SDL_SCANCODE_NUMLOCKCLEAR,	SDL_SCANCODE_SCROLLLOCK,SDL_SCANCODE_HOME,		// 4
   1.283 +	SDL_SCANCODE_UP,			SDL_SCANCODE_PAGEUP,	SDL_SCANCODE_KP_MINUS,		SDL_SCANCODE_LEFT,			SDL_SCANCODE_KP_5,		SDL_SCANCODE_RIGHT,			SDL_SCANCODE_KP_PLUS,	SDL_SCANCODE_END,		// 4 
   1.284 +
   1.285 +	SDL_SCANCODE_DOWN,			SDL_SCANCODE_PAGEDOWN,	SDL_SCANCODE_INSERT,		SDL_SCANCODE_DELETE,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_F11,		// 5
   1.286 +	SDL_SCANCODE_F12,			SDL_SCANCODE_PAUSE,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_LGUI,			SDL_SCANCODE_RGUI,		SDL_SCANCODE_APPLICATION,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		// 5
   1.287 +
   1.288 +	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		// 6
   1.289 +	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		// 6 
   1.290 +	
   1.291 +	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		// 7
   1.292 +	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN		// 7 
   1.293  };
   1.294 +
   1.295  /* *INDENT-ON* */