src/events/scancodes_xfree86.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 03 Dec 2008 04:32:24 +0000
changeset 2825 620a91b6d263
parent 2305 fbe8ff44c519
child 2859 99210400e8b9
permissions -rw-r--r--
Date: Tue, 02 Dec 2008 23:38:26 +0100
From: Couriersud
Subject: Re: SDL: Keyboard layout unknown

I have attached a diff which will add an additional keyboard layout to
the x11 driver. The issue arose, when I moved to ubuntu intrepid. I was
only able to map the keys available on my keyboard. The differences to
the existing keyboard was the mapping of HOME,UP,DOWN and some other
keys.

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