Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4489:2bb1bfeee9e2 | 4490:06c7423f8c60 |
---|---|
549 | 549 |
550 /* Public functions */ | 550 /* Public functions */ |
551 int | 551 int |
552 SDL_KeyboardInit(void) | 552 SDL_KeyboardInit(void) |
553 { | 553 { |
554 SDL_Keyboard *keyboard = &SDL_keyboard; | |
555 | |
556 /* Set the default keymap */ | |
557 SDL_memcpy(keyboard->keymap, SDL_default_keymap, sizeof(SDL_default_keymap)); | |
554 return (0); | 558 return (0); |
555 } | 559 } |
556 | 560 |
557 void | 561 void |
558 SDL_ResetKeyboard(void) | 562 SDL_ResetKeyboard(void) |