src/events/SDL_keyboard_c.h
changeset 2307 47f8a579cd9b
parent 2303 d87417504c75
child 2859 99210400e8b9
equal deleted inserted replaced
2306:1a8bab15a45d 2307:47f8a579cd9b
    35     void (*FreeKeyboard) (SDL_Keyboard * keyboard);
    35     void (*FreeKeyboard) (SDL_Keyboard * keyboard);
    36 
    36 
    37     /* Data common to all keyboards */
    37     /* Data common to all keyboards */
    38     SDL_WindowID focus;
    38     SDL_WindowID focus;
    39     Uint16 modstate;
    39     Uint16 modstate;
    40     Uint8 keystate[(SDL_NUM_SCANCODES + 7) / 8];
    40     Uint8 keystate[SDL_NUM_SCANCODES];
    41     SDLKey keymap[SDL_NUM_SCANCODES];
    41     SDLKey keymap[SDL_NUM_SCANCODES];
    42 
    42 
    43     void *driverdata;
    43     void *driverdata;
    44 };
    44 };
    45 
    45