Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2307:47f8a579cd9b | 2308:514f7c1651fc |
---|---|
275 0, /* SDL_SCANCODE_KBDILLUMUP ? */ | 275 0, /* SDL_SCANCODE_KBDILLUMUP ? */ |
276 0, /* SDL_SCANCODE_EJECT ? */ | 276 0, /* SDL_SCANCODE_EJECT ? */ |
277 0, /* SDL_SCANCODE_SLEEP ? */ | 277 0, /* SDL_SCANCODE_SLEEP ? */ |
278 }; | 278 }; |
279 | 279 |
280 /* *INDENT-OFF* */ | |
280 static struct | 281 static struct |
281 { | 282 { |
282 SDL_scancode *table; | 283 SDL_scancode *table; |
283 int table_size; | 284 int table_size; |
284 } scancode_set[] = { | 285 } scancode_set[] = { |
285 { | 286 { darwin_scancode_table, SDL_arraysize(darwin_scancode_table) }, |
286 darwin_scancode_table, SDL_arraysize(darwin_scancode_table)}, { | 287 { xfree86_scancode_table, SDL_arraysize(xfree86_scancode_table) }, |
287 xfree86_scancode_table, SDL_arraysize(xfree86_scancode_table)},}; | 288 }; |
289 /* *INDENT-OFF* */ | |
288 | 290 |
289 int | 291 int |
290 X11_InitKeyboard(_THIS) | 292 X11_InitKeyboard(_THIS) |
291 { | 293 { |
292 SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; | 294 SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; |