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