src/events/scancodes_xfree86.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 22 Jun 2015 23:36:06 -0700
changeset 9776 952ff8a5076f
parent 9644 2bd2c601df72
child 9998 f67cf37e9cd4
permissions -rw-r--r--
Fixed bug 3030 - SDL_RecreateWindow fails to restore title, icon, etc.

Adam M.

It loses the title and icon when window recreation fails. For instance, this may happen when trying to create an OpenGL ES window on a system that doesn't support it. But at that point, the title and icon have already been lost.
slouken@2305
     1
/*
slouken@5535
     2
  Simple DirectMedia Layer
slouken@9619
     3
  Copyright (C) 1997-2015 Sam Lantinga <slouken@libsdl.org>
slouken@2305
     4
slouken@5535
     5
  This software is provided 'as-is', without any express or implied
slouken@5535
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@5535
     7
  arising from the use of this software.
slouken@2305
     8
slouken@5535
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@5535
    10
  including commercial applications, and to alter it and redistribute it
slouken@5535
    11
  freely, subject to the following restrictions:
slouken@2305
    12
slouken@5535
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@5535
    14
     claim that you wrote the original software. If you use this software
slouken@5535
    15
     in a product, an acknowledgment in the product documentation would be
slouken@5535
    16
     appreciated but is not required.
slouken@5535
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@5535
    18
     misrepresented as being the original software.
slouken@5535
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@2305
    20
*/
slouken@2305
    21
#include "../../include/SDL_scancode.h"
slouken@2305
    22
slouken@2305
    23
/* XFree86 key code to SDL scancode mapping table
slouken@2305
    24
   Sources:
slouken@2305
    25
   - atKeyNames.h from XFree86 source code
slouken@2305
    26
*/
slouken@2305
    27
/* *INDENT-OFF* */
slouken@5218
    28
static const SDL_Scancode xfree86_scancode_table[] = {
slouken@2305
    29
    /*  0 */    SDL_SCANCODE_UNKNOWN,
slouken@2305
    30
    /*  1 */    SDL_SCANCODE_ESCAPE,
slouken@2305
    31
    /*  2 */    SDL_SCANCODE_1,
slouken@2305
    32
    /*  3 */    SDL_SCANCODE_2,
slouken@2305
    33
    /*  4 */    SDL_SCANCODE_3,
slouken@2305
    34
    /*  5 */    SDL_SCANCODE_4,
slouken@2305
    35
    /*  6 */    SDL_SCANCODE_5,
slouken@2305
    36
    /*  7 */    SDL_SCANCODE_6,
slouken@2305
    37
    /*  8 */    SDL_SCANCODE_7,
slouken@2305
    38
    /*  9 */    SDL_SCANCODE_8,
slouken@2305
    39
    /*  10 */   SDL_SCANCODE_9,
slouken@2305
    40
    /*  11 */   SDL_SCANCODE_0,
slouken@2305
    41
    /*  12 */   SDL_SCANCODE_MINUS,
slouken@2305
    42
    /*  13 */   SDL_SCANCODE_EQUALS,
slouken@2305
    43
    /*  14 */   SDL_SCANCODE_BACKSPACE,
slouken@2305
    44
    /*  15 */   SDL_SCANCODE_TAB,
slouken@2305
    45
    /*  16 */   SDL_SCANCODE_Q,
slouken@2305
    46
    /*  17 */   SDL_SCANCODE_W,
slouken@2305
    47
    /*  18 */   SDL_SCANCODE_E,
slouken@2305
    48
    /*  19 */   SDL_SCANCODE_R,
slouken@2305
    49
    /*  20 */   SDL_SCANCODE_T,
slouken@2305
    50
    /*  21 */   SDL_SCANCODE_Y,
slouken@2305
    51
    /*  22 */   SDL_SCANCODE_U,
slouken@2305
    52
    /*  23 */   SDL_SCANCODE_I,
slouken@2305
    53
    /*  24 */   SDL_SCANCODE_O,
slouken@2305
    54
    /*  25 */   SDL_SCANCODE_P,
slouken@2305
    55
    /*  26 */   SDL_SCANCODE_LEFTBRACKET,
slouken@2305
    56
    /*  27 */   SDL_SCANCODE_RIGHTBRACKET,
slouken@2305
    57
    /*  28 */   SDL_SCANCODE_RETURN,
slouken@2305
    58
    /*  29 */   SDL_SCANCODE_LCTRL,
slouken@2305
    59
    /*  30 */   SDL_SCANCODE_A,
slouken@2305
    60
    /*  31 */   SDL_SCANCODE_S,
slouken@2305
    61
    /*  32 */   SDL_SCANCODE_D,
slouken@2305
    62
    /*  33 */   SDL_SCANCODE_F,
slouken@2305
    63
    /*  34 */   SDL_SCANCODE_G,
slouken@2305
    64
    /*  35 */   SDL_SCANCODE_H,
slouken@2305
    65
    /*  36 */   SDL_SCANCODE_J,
slouken@2305
    66
    /*  37 */   SDL_SCANCODE_K,
slouken@2305
    67
    /*  38 */   SDL_SCANCODE_L,
slouken@2305
    68
    /*  39 */   SDL_SCANCODE_SEMICOLON,
slouken@2305
    69
    /*  40 */   SDL_SCANCODE_APOSTROPHE,
slouken@2305
    70
    /*  41 */   SDL_SCANCODE_GRAVE,
slouken@2305
    71
    /*  42 */   SDL_SCANCODE_LSHIFT,
slouken@2305
    72
    /*  43 */   SDL_SCANCODE_BACKSLASH,
slouken@2305
    73
    /*  44 */   SDL_SCANCODE_Z,
slouken@2305
    74
    /*  45 */   SDL_SCANCODE_X,
slouken@2305
    75
    /*  46 */   SDL_SCANCODE_C,
slouken@2305
    76
    /*  47 */   SDL_SCANCODE_V,
slouken@2305
    77
    /*  48 */   SDL_SCANCODE_B,
slouken@2305
    78
    /*  49 */   SDL_SCANCODE_N,
slouken@2305
    79
    /*  50 */   SDL_SCANCODE_M,
slouken@2305
    80
    /*  51 */   SDL_SCANCODE_COMMA,
slouken@2305
    81
    /*  52 */   SDL_SCANCODE_PERIOD,
slouken@2305
    82
    /*  53 */   SDL_SCANCODE_SLASH,
slouken@2305
    83
    /*  54 */   SDL_SCANCODE_RSHIFT,
slouken@2305
    84
    /*  55 */   SDL_SCANCODE_KP_MULTIPLY,
slouken@2305
    85
    /*  56 */   SDL_SCANCODE_LALT,
slouken@2305
    86
    /*  57 */   SDL_SCANCODE_SPACE,
slouken@2305
    87
    /*  58 */   SDL_SCANCODE_CAPSLOCK,
slouken@2305
    88
    /*  59 */   SDL_SCANCODE_F1,
slouken@2305
    89
    /*  60 */   SDL_SCANCODE_F2,
slouken@2305
    90
    /*  61 */   SDL_SCANCODE_F3,
slouken@2305
    91
    /*  62 */   SDL_SCANCODE_F4,
slouken@2305
    92
    /*  63 */   SDL_SCANCODE_F5,
slouken@2305
    93
    /*  64 */   SDL_SCANCODE_F6,
slouken@2305
    94
    /*  65 */   SDL_SCANCODE_F7,
slouken@2305
    95
    /*  66 */   SDL_SCANCODE_F8,
slouken@2305
    96
    /*  67 */   SDL_SCANCODE_F9,
slouken@2305
    97
    /*  68 */   SDL_SCANCODE_F10,
slouken@2305
    98
    /*  69 */   SDL_SCANCODE_NUMLOCKCLEAR,
slouken@2305
    99
    /*  70 */   SDL_SCANCODE_SCROLLLOCK,
slouken@2305
   100
    /*  71 */   SDL_SCANCODE_KP_7,
slouken@2305
   101
    /*  72 */   SDL_SCANCODE_KP_8,
slouken@2305
   102
    /*  73 */   SDL_SCANCODE_KP_9,
slouken@2305
   103
    /*  74 */   SDL_SCANCODE_KP_MINUS,
slouken@2305
   104
    /*  75 */   SDL_SCANCODE_KP_4,
slouken@2305
   105
    /*  76 */   SDL_SCANCODE_KP_5,
slouken@2305
   106
    /*  77 */   SDL_SCANCODE_KP_6,
slouken@2305
   107
    /*  78 */   SDL_SCANCODE_KP_PLUS,
slouken@2305
   108
    /*  79 */   SDL_SCANCODE_KP_1,
slouken@2305
   109
    /*  80 */   SDL_SCANCODE_KP_2,
slouken@2305
   110
    /*  81 */   SDL_SCANCODE_KP_3,
slouken@2305
   111
    /*  82 */   SDL_SCANCODE_KP_0,
slouken@2305
   112
    /*  83 */   SDL_SCANCODE_KP_PERIOD,
slouken@2305
   113
    /*  84 */   SDL_SCANCODE_SYSREQ,
slouken@2305
   114
    /*  85 */   SDL_SCANCODE_MODE,
slouken@2305
   115
    /*  86 */   SDL_SCANCODE_NONUSBACKSLASH,
slouken@2305
   116
    /*  87 */   SDL_SCANCODE_F11,
slouken@2305
   117
    /*  88 */   SDL_SCANCODE_F12,
slouken@2305
   118
    /*  89 */   SDL_SCANCODE_HOME,
slouken@2305
   119
    /*  90 */   SDL_SCANCODE_UP,
slouken@2305
   120
    /*  91 */   SDL_SCANCODE_PAGEUP,
slouken@2305
   121
    /*  92 */   SDL_SCANCODE_LEFT,
slouken@2305
   122
    /*  93 */   SDL_SCANCODE_BRIGHTNESSDOWN, /* on PowerBook G4 / KEY_Begin */
slouken@2305
   123
    /*  94 */   SDL_SCANCODE_RIGHT,
slouken@2305
   124
    /*  95 */   SDL_SCANCODE_END,
slouken@2305
   125
    /*  96 */   SDL_SCANCODE_DOWN,
slouken@2305
   126
    /*  97 */   SDL_SCANCODE_PAGEDOWN,
slouken@2305
   127
    /*  98 */   SDL_SCANCODE_INSERT,
slouken@2305
   128
    /*  99 */   SDL_SCANCODE_DELETE,
slouken@2305
   129
    /*  100 */  SDL_SCANCODE_KP_ENTER,
slouken@2305
   130
    /*  101 */  SDL_SCANCODE_RCTRL,
slouken@2305
   131
    /*  102 */  SDL_SCANCODE_PAUSE,
slouken@2305
   132
    /*  103 */  SDL_SCANCODE_PRINTSCREEN,
slouken@2305
   133
    /*  104 */  SDL_SCANCODE_KP_DIVIDE,
slouken@2305
   134
    /*  105 */  SDL_SCANCODE_RALT,
slouken@2305
   135
    /*  106 */  SDL_SCANCODE_UNKNOWN, /* BREAK */
slouken@2305
   136
    /*  107 */  SDL_SCANCODE_LGUI,
slouken@2305
   137
    /*  108 */  SDL_SCANCODE_RGUI,
slouken@2305
   138
    /*  109 */  SDL_SCANCODE_APPLICATION,
slouken@2305
   139
    /*  110 */  SDL_SCANCODE_F13,
slouken@2305
   140
    /*  111 */  SDL_SCANCODE_F14,
slouken@2305
   141
    /*  112 */  SDL_SCANCODE_F15,
slouken@2305
   142
    /*  113 */  SDL_SCANCODE_F16,
slouken@2305
   143
    /*  114 */  SDL_SCANCODE_F17,
icculus@9644
   144
    /*  115 */  SDL_SCANCODE_INTERNATIONAL1, /* \_ */
slouken@7580
   145
    /*  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 */
slouken@2305
   146
    /*  117 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   147
    /*  118 */  SDL_SCANCODE_KP_EQUALS,
slouken@2305
   148
    /*  119 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   149
    /*  120 */  SDL_SCANCODE_UNKNOWN,
icculus@9644
   150
    /*  121 */  SDL_SCANCODE_INTERNATIONAL4, /* Henkan_Mode */
slouken@2305
   151
    /*  122 */  SDL_SCANCODE_UNKNOWN,
icculus@9644
   152
    /*  123 */  SDL_SCANCODE_INTERNATIONAL5, /* Muhenkan */
slouken@2305
   153
    /*  124 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   154
    /*  125 */  SDL_SCANCODE_INTERNATIONAL3, /* Yen */
slouken@2305
   155
    /*  126 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   156
    /*  127 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   157
    /*  128 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   158
    /*  129 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   159
    /*  130 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   160
    /*  131 */  SDL_SCANCODE_UNKNOWN,
slouken@2305
   161
    /*  132 */  SDL_SCANCODE_POWER,
slouken@2305
   162
    /*  133 */  SDL_SCANCODE_MUTE,
slouken@2305
   163
    /*  134 */  SDL_SCANCODE_VOLUMEDOWN,
slouken@2305
   164
    /*  135 */  SDL_SCANCODE_VOLUMEUP,
slouken@2305
   165
    /*  136 */  SDL_SCANCODE_HELP,
slouken@2305
   166
    /*  137 */  SDL_SCANCODE_STOP,
slouken@2305
   167
    /*  138 */  SDL_SCANCODE_AGAIN,
slouken@2305
   168
    /*  139 */  SDL_SCANCODE_UNKNOWN, /* PROPS */
slouken@2305
   169
    /*  140 */  SDL_SCANCODE_UNDO,
slouken@2305
   170
    /*  141 */  SDL_SCANCODE_UNKNOWN, /* FRONT */
slouken@2305
   171
    /*  142 */  SDL_SCANCODE_COPY,
slouken@2305
   172
    /*  143 */  SDL_SCANCODE_UNKNOWN, /* OPEN */
slouken@2305
   173
    /*  144 */  SDL_SCANCODE_PASTE,
slouken@2305
   174
    /*  145 */  SDL_SCANCODE_FIND,
slouken@2305
   175
    /*  146 */  SDL_SCANCODE_CUT,
slouken@2305
   176
};
slouken@2825
   177
slouken@2825
   178
/* for wireless usb keyboard (manufacturer TRUST) without numpad. */
slouken@5218
   179
static const SDL_Scancode xfree86_scancode_table2[] = {
slouken@2825
   180
    /*  0 */    SDL_SCANCODE_UNKNOWN,
slouken@2825
   181
    /*  1 */    SDL_SCANCODE_ESCAPE,
slouken@2825
   182
    /*  2 */    SDL_SCANCODE_1,
slouken@2825
   183
    /*  3 */    SDL_SCANCODE_2,
slouken@2825
   184
    /*  4 */    SDL_SCANCODE_3,
slouken@2825
   185
    /*  5 */    SDL_SCANCODE_4,
slouken@2825
   186
    /*  6 */    SDL_SCANCODE_5,
slouken@2825
   187
    /*  7 */    SDL_SCANCODE_6,
slouken@2825
   188
    /*  8 */    SDL_SCANCODE_7,
slouken@2825
   189
    /*  9 */    SDL_SCANCODE_8,
slouken@2825
   190
    /*  10 */   SDL_SCANCODE_9,
slouken@2825
   191
    /*  11 */   SDL_SCANCODE_0,
slouken@2825
   192
    /*  12 */   SDL_SCANCODE_MINUS,
slouken@2825
   193
    /*  13 */   SDL_SCANCODE_EQUALS,
slouken@2825
   194
    /*  14 */   SDL_SCANCODE_BACKSPACE,
slouken@2825
   195
    /*  15 */   SDL_SCANCODE_TAB,
slouken@2825
   196
    /*  16 */   SDL_SCANCODE_Q,
slouken@2825
   197
    /*  17 */   SDL_SCANCODE_W,
slouken@2825
   198
    /*  18 */   SDL_SCANCODE_E,
slouken@2825
   199
    /*  19 */   SDL_SCANCODE_R,
slouken@2825
   200
    /*  20 */   SDL_SCANCODE_T,
slouken@2825
   201
    /*  21 */   SDL_SCANCODE_Y,
slouken@2825
   202
    /*  22 */   SDL_SCANCODE_U,
slouken@2825
   203
    /*  23 */   SDL_SCANCODE_I,
slouken@2825
   204
    /*  24 */   SDL_SCANCODE_O,
slouken@2825
   205
    /*  25 */   SDL_SCANCODE_P,
slouken@2825
   206
    /*  26 */   SDL_SCANCODE_LEFTBRACKET,
slouken@2825
   207
    /*  27 */   SDL_SCANCODE_RIGHTBRACKET,
slouken@2825
   208
    /*  28 */   SDL_SCANCODE_RETURN,
slouken@2825
   209
    /*  29 */   SDL_SCANCODE_LCTRL,
slouken@2825
   210
    /*  30 */   SDL_SCANCODE_A,
slouken@2825
   211
    /*  31 */   SDL_SCANCODE_S,
slouken@2825
   212
    /*  32 */   SDL_SCANCODE_D,
slouken@2825
   213
    /*  33 */   SDL_SCANCODE_F,
slouken@2825
   214
    /*  34 */   SDL_SCANCODE_G,
slouken@2825
   215
    /*  35 */   SDL_SCANCODE_H,
slouken@2825
   216
    /*  36 */   SDL_SCANCODE_J,
slouken@2825
   217
    /*  37 */   SDL_SCANCODE_K,
slouken@2825
   218
    /*  38 */   SDL_SCANCODE_L,
slouken@2825
   219
    /*  39 */   SDL_SCANCODE_SEMICOLON,
slouken@2825
   220
    /*  40 */   SDL_SCANCODE_APOSTROPHE,
slouken@2825
   221
    /*  41 */   SDL_SCANCODE_GRAVE,
slouken@2825
   222
    /*  42 */   SDL_SCANCODE_LSHIFT,
slouken@2825
   223
    /*  43 */   SDL_SCANCODE_BACKSLASH,
slouken@2825
   224
    /*  44 */   SDL_SCANCODE_Z,
slouken@2825
   225
    /*  45 */   SDL_SCANCODE_X,
slouken@2825
   226
    /*  46 */   SDL_SCANCODE_C,
slouken@2825
   227
    /*  47 */   SDL_SCANCODE_V,
slouken@2825
   228
    /*  48 */   SDL_SCANCODE_B,
slouken@2825
   229
    /*  49 */   SDL_SCANCODE_N,
slouken@2825
   230
    /*  50 */   SDL_SCANCODE_M,
slouken@2825
   231
    /*  51 */   SDL_SCANCODE_COMMA,
slouken@2825
   232
    /*  52 */   SDL_SCANCODE_PERIOD,
slouken@2825
   233
    /*  53 */   SDL_SCANCODE_SLASH,
slouken@2825
   234
    /*  54 */   SDL_SCANCODE_RSHIFT,
slouken@2825
   235
    /*  55 */   SDL_SCANCODE_KP_MULTIPLY,
slouken@2825
   236
    /*  56 */   SDL_SCANCODE_LALT,
slouken@2825
   237
    /*  57 */   SDL_SCANCODE_SPACE,
slouken@2825
   238
    /*  58 */   SDL_SCANCODE_CAPSLOCK,
slouken@2825
   239
    /*  59 */   SDL_SCANCODE_F1,
slouken@2825
   240
    /*  60 */   SDL_SCANCODE_F2,
slouken@2825
   241
    /*  61 */   SDL_SCANCODE_F3,
slouken@2825
   242
    /*  62 */   SDL_SCANCODE_F4,
slouken@2825
   243
    /*  63 */   SDL_SCANCODE_F5,
slouken@2825
   244
    /*  64 */   SDL_SCANCODE_F6,
slouken@2825
   245
    /*  65 */   SDL_SCANCODE_F7,
slouken@2825
   246
    /*  66 */   SDL_SCANCODE_F8,
slouken@2825
   247
    /*  67 */   SDL_SCANCODE_F9,
slouken@2825
   248
    /*  68 */   SDL_SCANCODE_F10,
slouken@2825
   249
    /*  69 */   SDL_SCANCODE_NUMLOCKCLEAR,
slouken@2825
   250
    /*  70 */   SDL_SCANCODE_SCROLLLOCK,
slouken@2825
   251
    /*  71 */   SDL_SCANCODE_KP_7,
slouken@2825
   252
    /*  72 */   SDL_SCANCODE_KP_8,
slouken@2825
   253
    /*  73 */   SDL_SCANCODE_KP_9,
slouken@2825
   254
    /*  74 */   SDL_SCANCODE_KP_MINUS,
slouken@2825
   255
    /*  75 */   SDL_SCANCODE_KP_4,
slouken@2825
   256
    /*  76 */   SDL_SCANCODE_KP_5,
slouken@2825
   257
    /*  77 */   SDL_SCANCODE_KP_6,
slouken@2825
   258
    /*  78 */   SDL_SCANCODE_KP_PLUS,
slouken@2825
   259
    /*  79 */   SDL_SCANCODE_KP_1,
slouken@2825
   260
    /*  80 */   SDL_SCANCODE_KP_2,
slouken@2825
   261
    /*  81 */   SDL_SCANCODE_KP_3,
slouken@2825
   262
    /*  82 */   SDL_SCANCODE_KP_0,
slouken@2825
   263
    /*  83 */   SDL_SCANCODE_KP_PERIOD,
slouken@4532
   264
    /*  84 */   SDL_SCANCODE_SYSREQ,    /* ???? */
slouken@4532
   265
    /*  85 */   SDL_SCANCODE_MODE,      /* ???? */
slouken@2825
   266
    /*  86 */   SDL_SCANCODE_NONUSBACKSLASH,
slouken@2825
   267
    /*  87 */   SDL_SCANCODE_F11,
slouken@2825
   268
    /*  88 */   SDL_SCANCODE_F12,
icculus@9644
   269
    /*  89 */   SDL_SCANCODE_INTERNATIONAL1, /* \_ */
slouken@4532
   270
    /*  90 */   SDL_SCANCODE_UNKNOWN,   /* Katakana */
slouken@4532
   271
    /*  91 */   SDL_SCANCODE_UNKNOWN,   /* Hiragana */
icculus@9644
   272
    /*  92 */   SDL_SCANCODE_INTERNATIONAL4, /* Henkan_Mode */
icculus@9644
   273
    /*  93 */   SDL_SCANCODE_INTERNATIONAL2, /* Hiragana_Katakana */
icculus@9644
   274
    /*  94 */   SDL_SCANCODE_INTERNATIONAL5, /* Muhenkan */
slouken@2825
   275
    /*  95 */   SDL_SCANCODE_UNKNOWN,
slouken@4531
   276
    /*  96 */   SDL_SCANCODE_KP_ENTER,
slouken@2825
   277
    /*  97 */   SDL_SCANCODE_RCTRL,
slouken@2825
   278
    /*  98 */   SDL_SCANCODE_KP_DIVIDE,
slouken@4532
   279
    /*  99 */   SDL_SCANCODE_PRINTSCREEN,
slouken@4532
   280
    /* 100 */   SDL_SCANCODE_RALT,      /* ISO_Level3_Shift, ALTGR, RALT */
slouken@4532
   281
    /* 101 */   SDL_SCANCODE_UNKNOWN,   /* Linefeed */
slouken@2825
   282
    /* 102 */   SDL_SCANCODE_HOME,
slouken@2825
   283
    /* 103 */   SDL_SCANCODE_UP,
slouken@2825
   284
    /* 104 */   SDL_SCANCODE_PAGEUP,
slouken@2825
   285
    /* 105 */   SDL_SCANCODE_LEFT,
slouken@2825
   286
    /* 106 */   SDL_SCANCODE_RIGHT,
slouken@2825
   287
    /* 107 */   SDL_SCANCODE_END,
slouken@2825
   288
    /* 108 */   SDL_SCANCODE_DOWN,
slouken@2825
   289
    /* 109 */   SDL_SCANCODE_PAGEDOWN,
slouken@2825
   290
    /* 110 */   SDL_SCANCODE_INSERT,
slouken@2825
   291
    /* 111 */   SDL_SCANCODE_DELETE,
slouken@2825
   292
    /* 112 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   293
    /* 113 */   SDL_SCANCODE_MUTE,
slouken@4532
   294
    /* 114 */   SDL_SCANCODE_VOLUMEDOWN,
slouken@4532
   295
    /* 115 */   SDL_SCANCODE_VOLUMEUP,
slouken@4532
   296
    /* 116 */   SDL_SCANCODE_POWER,
slouken@4532
   297
    /* 117 */   SDL_SCANCODE_KP_EQUALS,
slouken@4532
   298
    /* 118 */   SDL_SCANCODE_UNKNOWN,   /* plusminus */
slouken@4532
   299
    /* 119 */   SDL_SCANCODE_PAUSE,
slouken@4532
   300
    /* 120 */   SDL_SCANCODE_UNKNOWN,   /* XF86LaunchA */
slouken@7580
   301
    /* 121 */   SDL_SCANCODE_UNKNOWN,   /* KP_Decimal */
slouken@4532
   302
    /* 122 */   SDL_SCANCODE_UNKNOWN,   /* Hangul */
slouken@4532
   303
    /* 123 */   SDL_SCANCODE_UNKNOWN,   /* Hangul_Hanja */
icculus@9644
   304
    /* 124 */   SDL_SCANCODE_INTERNATIONAL3, /* Yen */
slouken@4532
   305
    /* 125 */   SDL_SCANCODE_LGUI,
slouken@4532
   306
    /* 126 */   SDL_SCANCODE_RGUI,
slouken@4532
   307
    /* 127 */   SDL_SCANCODE_APPLICATION,
slouken@4532
   308
    /* 128 */   SDL_SCANCODE_CANCEL,
slouken@4532
   309
    /* 129 */   SDL_SCANCODE_AGAIN,
slouken@4532
   310
    /* 130 */   SDL_SCANCODE_UNKNOWN,   /* SunProps */
slouken@4532
   311
    /* 131 */   SDL_SCANCODE_UNDO,
slouken@4532
   312
    /* 132 */   SDL_SCANCODE_UNKNOWN,   /* SunFront */
slouken@4532
   313
    /* 133 */   SDL_SCANCODE_COPY,
slouken@4532
   314
    /* 134 */   SDL_SCANCODE_UNKNOWN,   /* SunOpen */
slouken@4532
   315
    /* 135 */   SDL_SCANCODE_PASTE,
slouken@4532
   316
    /* 136 */   SDL_SCANCODE_FIND,
slouken@4532
   317
    /* 137 */   SDL_SCANCODE_CUT,
slouken@4532
   318
    /* 138 */   SDL_SCANCODE_HELP,
slouken@4532
   319
    /* 139 */   SDL_SCANCODE_UNKNOWN,   /* XF86MenuKB */
slouken@4532
   320
    /* 140 */   SDL_SCANCODE_CALCULATOR,
slouken@4532
   321
    /* 141 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   322
    /* 142 */   SDL_SCANCODE_SLEEP,
slouken@4532
   323
    /* 143 */   SDL_SCANCODE_UNKNOWN,   /* XF86WakeUp */
slouken@4532
   324
    /* 144 */   SDL_SCANCODE_UNKNOWN,   /* XF86Explorer */
slouken@4532
   325
    /* 145 */   SDL_SCANCODE_UNKNOWN,   /* XF86Send */
slouken@4532
   326
    /* 146 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   327
    /* 147 */   SDL_SCANCODE_UNKNOWN,   /* XF86Xfer */
slouken@7580
   328
    /* 148 */   SDL_SCANCODE_APP1,      /* XF86Launch1 */
slouken@7580
   329
    /* 149 */   SDL_SCANCODE_APP2,      /* XF86Launch2 */
slouken@4532
   330
    /* 150 */   SDL_SCANCODE_WWW,
slouken@4532
   331
    /* 151 */   SDL_SCANCODE_UNKNOWN,   /* XF86DOS */
slouken@4532
   332
    /* 152 */   SDL_SCANCODE_UNKNOWN,   /* XF86ScreenSaver */
slouken@4532
   333
    /* 153 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   334
    /* 154 */   SDL_SCANCODE_UNKNOWN,   /* XF86RotateWindows */
slouken@4532
   335
    /* 155 */   SDL_SCANCODE_MAIL,
slouken@7580
   336
    /* 156 */   SDL_SCANCODE_AC_BOOKMARKS,   /* XF86Favorites */
slouken@4532
   337
    /* 157 */   SDL_SCANCODE_COMPUTER,
slouken@4532
   338
    /* 158 */   SDL_SCANCODE_AC_BACK,
slouken@4532
   339
    /* 159 */   SDL_SCANCODE_AC_FORWARD,
slouken@4532
   340
    /* 160 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   341
    /* 161 */   SDL_SCANCODE_EJECT,
slouken@4532
   342
    /* 162 */   SDL_SCANCODE_EJECT,
slouken@4532
   343
    /* 163 */   SDL_SCANCODE_AUDIONEXT,
slouken@4532
   344
    /* 164 */   SDL_SCANCODE_AUDIOPLAY,
slouken@4532
   345
    /* 165 */   SDL_SCANCODE_AUDIOPREV,
slouken@4532
   346
    /* 166 */   SDL_SCANCODE_AUDIOSTOP,
slouken@4532
   347
    /* 167 */   SDL_SCANCODE_UNKNOWN,   /* XF86AudioRecord */
slouken@4532
   348
    /* 168 */   SDL_SCANCODE_UNKNOWN,   /* XF86AudioRewind */
slouken@4532
   349
    /* 169 */   SDL_SCANCODE_UNKNOWN,   /* XF86Phone */
slouken@4532
   350
    /* 170 */   SDL_SCANCODE_UNKNOWN,
slouken@7580
   351
    /* 171 */   SDL_SCANCODE_F13,       /* XF86Tools */
slouken@4532
   352
    /* 172 */   SDL_SCANCODE_AC_HOME,
slouken@4532
   353
    /* 173 */   SDL_SCANCODE_AC_REFRESH,
slouken@4532
   354
    /* 174 */   SDL_SCANCODE_UNKNOWN,   /* XF86Close */
slouken@4532
   355
    /* 175 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   356
    /* 176 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   357
    /* 177 */   SDL_SCANCODE_UNKNOWN,   /* XF86ScrollUp */
slouken@4532
   358
    /* 178 */   SDL_SCANCODE_UNKNOWN,   /* XF86ScrollDown */
slouken@4532
   359
    /* 179 */   SDL_SCANCODE_UNKNOWN,   /* parenleft */
slouken@4532
   360
    /* 180 */   SDL_SCANCODE_UNKNOWN,   /* parenright */
slouken@4532
   361
    /* 181 */   SDL_SCANCODE_UNKNOWN,   /* XF86New */
slouken@4532
   362
    /* 182 */   SDL_SCANCODE_AGAIN,
slouken@7580
   363
    /* 183 */   SDL_SCANCODE_F13,       /* XF86Tools */
slouken@7580
   364
    /* 184 */   SDL_SCANCODE_F14,       /* XF86Launch5 */
slouken@7580
   365
    /* 185 */   SDL_SCANCODE_F15,       /* XF86Launch6 */
slouken@7580
   366
    /* 186 */   SDL_SCANCODE_F16,       /* XF86Launch7 */
slouken@7580
   367
    /* 187 */   SDL_SCANCODE_F17,       /* XF86Launch8 */
slouken@7580
   368
    /* 188 */   SDL_SCANCODE_F18,       /* XF86Launch9 */
slouken@7580
   369
    /* 189 */   SDL_SCANCODE_F19,       /* null keysym */
slouken@4532
   370
    /* 190 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   371
    /* 191 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   372
    /* 192 */   SDL_SCANCODE_UNKNOWN,   /* XF86TouchpadToggle */
slouken@4532
   373
    /* 193 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   374
    /* 194 */   SDL_SCANCODE_UNKNOWN,
slouken@4534
   375
    /* 195 */   SDL_SCANCODE_MODE,
slouken@4532
   376
    /* 196 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   377
    /* 197 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   378
    /* 198 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   379
    /* 199 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   380
    /* 200 */   SDL_SCANCODE_AUDIOPLAY,
slouken@4532
   381
    /* 201 */   SDL_SCANCODE_UNKNOWN,   /* XF86AudioPause */
slouken@4532
   382
    /* 202 */   SDL_SCANCODE_UNKNOWN,   /* XF86Launch3 */
slouken@4532
   383
    /* 203 */   SDL_SCANCODE_UNKNOWN,   /* XF86Launch4 */
slouken@4532
   384
    /* 204 */   SDL_SCANCODE_UNKNOWN,   /* XF86LaunchB */
slouken@4532
   385
    /* 205 */   SDL_SCANCODE_UNKNOWN,   /* XF86Suspend */
slouken@4532
   386
    /* 206 */   SDL_SCANCODE_UNKNOWN,   /* XF86Close */
slouken@4532
   387
    /* 207 */   SDL_SCANCODE_AUDIOPLAY,
slouken@4532
   388
    /* 208 */   SDL_SCANCODE_AUDIONEXT,
slouken@4532
   389
    /* 209 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   390
    /* 210 */   SDL_SCANCODE_PRINTSCREEN,
slouken@4532
   391
    /* 211 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   392
    /* 212 */   SDL_SCANCODE_UNKNOWN,   /* XF86WebCam */
slouken@4532
   393
    /* 213 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   394
    /* 214 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   395
    /* 215 */   SDL_SCANCODE_MAIL,
slouken@4532
   396
    /* 216 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   397
    /* 217 */   SDL_SCANCODE_AC_SEARCH,
slouken@4532
   398
    /* 218 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   399
    /* 219 */   SDL_SCANCODE_UNKNOWN,   /* XF86Finance */
slouken@4532
   400
    /* 220 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   401
    /* 221 */   SDL_SCANCODE_UNKNOWN,   /* XF86Shop */
slouken@4532
   402
    /* 222 */   SDL_SCANCODE_UNKNOWN,
slouken@4532
   403
    /* 223 */   SDL_SCANCODE_STOP,
slouken@4532
   404
    /* 224 */   SDL_SCANCODE_BRIGHTNESSDOWN,
slouken@4532
   405
    /* 225 */   SDL_SCANCODE_BRIGHTNESSUP,
slouken@4532
   406
    /* 226 */   SDL_SCANCODE_MEDIASELECT,
slouken@4532
   407
    /* 227 */   SDL_SCANCODE_DISPLAYSWITCH,
slouken@4532
   408
    /* 228 */   SDL_SCANCODE_KBDILLUMTOGGLE,
slouken@4532
   409
    /* 229 */   SDL_SCANCODE_KBDILLUMDOWN,
slouken@4532
   410
    /* 230 */   SDL_SCANCODE_KBDILLUMUP,
slouken@4532
   411
    /* 231 */   SDL_SCANCODE_UNKNOWN,   /* XF86Send */
slouken@4532
   412
    /* 232 */   SDL_SCANCODE_UNKNOWN,   /* XF86Reply */
slouken@4532
   413
    /* 233 */   SDL_SCANCODE_UNKNOWN,   /* XF86MailForward */
slouken@4532
   414
    /* 234 */   SDL_SCANCODE_UNKNOWN,   /* XF86Save */
slouken@4532
   415
    /* 235 */   SDL_SCANCODE_UNKNOWN,   /* XF86Documents */
slouken@4532
   416
    /* 236 */   SDL_SCANCODE_UNKNOWN,   /* XF86Battery */
slouken@4532
   417
    /* 237 */   SDL_SCANCODE_UNKNOWN,   /* XF86Bluetooth */
slouken@4532
   418
    /* 238 */   SDL_SCANCODE_UNKNOWN,   /* XF86WLAN */
slouken@2825
   419
};
slouken@2825
   420
slouken@2305
   421
/* *INDENT-ON* */