comparison src/events/scancodes_linux.h @ 5083:25d4feb7c127

Renamed SDL_keysym to SDL_KeySym Renamed SDL_scancode to SDL_ScanCode Added #defines to SDL_compat.h
author krogoway
date Mon, 24 Jan 2011 13:47:35 -0600
parents f7b03b6838cb
children 572a73d71b5f
comparison
equal deleted inserted replaced
5082:de59e0218aa2 5083:25d4feb7c127
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 const 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,