src/events/SDL_keyboard.c
changeset 4490 06c7423f8c60
parent 4465 3e69e077cb95
child 4529 05ab4141ce93
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)