Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11keyboard.c @ 2308:514f7c1651fc
Untested Win32 keyboard scancode code.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 08 Feb 2008 08:35:49 +0000 |
parents | 1a8bab15a45d |
children | 4ac07ae446d3 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11keyboard.c Thu Feb 07 16:14:43 2008 +0000 +++ b/src/video/x11/SDL_x11keyboard.c Fri Feb 08 08:35:49 2008 +0000 @@ -277,14 +277,16 @@ 0, /* SDL_SCANCODE_SLEEP ? */ }; +/* *INDENT-OFF* */ static struct { SDL_scancode *table; int table_size; } scancode_set[] = { - { - darwin_scancode_table, SDL_arraysize(darwin_scancode_table)}, { -xfree86_scancode_table, SDL_arraysize(xfree86_scancode_table)},}; + { darwin_scancode_table, SDL_arraysize(darwin_scancode_table) }, + { xfree86_scancode_table, SDL_arraysize(xfree86_scancode_table) }, +}; +/* *INDENT-OFF* */ int X11_InitKeyboard(_THIS)