My Project
|
Keyboard button event structure (event.key.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
Uint32 | windowID |
Uint8 | state |
Uint8 | repeat |
Uint8 | padding2 |
Uint8 | padding3 |
SDL_Keysym | keysym |
Keyboard button event structure (event.key.*)
SDL_Keysym keysym |
The key that was pressed or released
Uint8 repeat |
Non-zero if this is a key repeat
Uint8 state |
SDL_PRESSED or SDL_RELEASED
Uint32 timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 type |
Uint32 windowID |
The window with keyboard focus, if any