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