src/events/SDL_keyboard.c
changeset 4490 06c7423f8c60
parent 4465 3e69e077cb95
child 4529 05ab4141ce93
     1.1 --- a/src/events/SDL_keyboard.c	Tue Jul 06 22:26:03 2010 -0700
     1.2 +++ b/src/events/SDL_keyboard.c	Wed Jul 07 18:58:51 2010 -0700
     1.3 @@ -551,6 +551,10 @@
     1.4  int
     1.5  SDL_KeyboardInit(void)
     1.6  {
     1.7 +    SDL_Keyboard *keyboard = &SDL_keyboard;
     1.8 +
     1.9 +    /* Set the default keymap */
    1.10 +    SDL_memcpy(keyboard->keymap, SDL_default_keymap, sizeof(SDL_default_keymap));
    1.11      return (0);
    1.12  }
    1.13