Mercurial > sdl-ios-xcode
diff src/events/SDL_keyboard.c @ 4490:06c7423f8c60
Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)
Updated iPhone demos (which build and run again)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 07 Jul 2010 18:58:51 -0700 |
parents | 3e69e077cb95 |
children | 05ab4141ce93 |
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c Tue Jul 06 22:26:03 2010 -0700 +++ b/src/events/SDL_keyboard.c Wed Jul 07 18:58:51 2010 -0700 @@ -551,6 +551,10 @@ int SDL_KeyboardInit(void) { + SDL_Keyboard *keyboard = &SDL_keyboard; + + /* Set the default keymap */ + SDL_memcpy(keyboard->keymap, SDL_default_keymap, sizeof(SDL_default_keymap)); return (0); }