Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)

Updated iPhone demos (which build and run again)
This commit is contained in:
Sam Lantinga 2010-07-07 18:58:51 -07:00
parent 2c5a878c4e
commit 99b869fe2e
10 changed files with 55 additions and 39 deletions

View file

@ -551,6 +551,10 @@ SDL_UCS4ToUTF8(Uint32 ch, char *dst)
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);
}