Mercurial > sdl-ios-xcode
comparison src/video/android/SDL_androidkeyboard.c @ 5224:c1a92e61907d
Renamed SDLKey and SDLMod for consistency
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Feb 2011 09:42:08 -0800 |
parents | 572a73d71b5f |
children | 1fbe1c202501 |
comparison
equal
deleted
inserted
replaced
5223:572a73d71b5f | 5224:c1a92e61907d |
---|---|
28 #include "SDL_androidkeyboard.h" | 28 #include "SDL_androidkeyboard.h" |
29 | 29 |
30 | 30 |
31 void Android_InitKeyboard() | 31 void Android_InitKeyboard() |
32 { | 32 { |
33 SDLKey keymap[SDL_NUM_SCANCODES]; | 33 SDL_Key keymap[SDL_NUM_SCANCODES]; |
34 | 34 |
35 /* Add default scancode to key mapping */ | 35 /* Add default scancode to key mapping */ |
36 SDL_GetDefaultKeymap(keymap); | 36 SDL_GetDefaultKeymap(keymap); |
37 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); | 37 SDL_SetKeymap(0, keymap, SDL_NUM_SCANCODES); |
38 } | 38 } |