src/events/scancodes_linux.h
changeset 3162 dc1eb82ffdaa
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
equal deleted inserted replaced
3161:494559cc723b 3162:dc1eb82ffdaa
    24 /* Linux virtual key code to SDLKey mapping table
    24 /* Linux virtual key code to SDLKey mapping table
    25    Sources:
    25    Sources:
    26    - Linux kernel source input.h
    26    - Linux kernel source input.h
    27 */
    27 */
    28 /* *INDENT-OFF* */
    28 /* *INDENT-OFF* */
    29 static SDL_scancode linux_scancode_table[] = {
    29 static SDL_scancode const linux_scancode_table[] = {
    30     /*  0 */    SDL_SCANCODE_UNKNOWN,
    30     /*  0 */    SDL_SCANCODE_UNKNOWN,
    31     /*  1 */    SDL_SCANCODE_ESCAPE,
    31     /*  1 */    SDL_SCANCODE_ESCAPE,
    32     /*  2 */    SDL_SCANCODE_1,
    32     /*  2 */    SDL_SCANCODE_1,
    33     /*  3 */    SDL_SCANCODE_2,
    33     /*  3 */    SDL_SCANCODE_2,
    34     /*  4 */    SDL_SCANCODE_3,
    34     /*  4 */    SDL_SCANCODE_3,