Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
SDL_KeyboardEvent(3) | SDL API Reference | SDL_KeyboardEvent(3) |
NAME
SDL_KeyboardEvent - Keyboard event structureSTRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 state;
SDL_keysym keysym;
} SDL_KeyboardEvent;
STRUCTURE DATA
- type
- SDL_KEYDOWN or SDL_KEYUP
- state
- SDL_PRESSED or SDL_RELEASED
- keysym
- Contains key press information
DESCRIPTION
SDL_KeyboardEvent is a member of the SDL_Event union and is used when an event of type SDL_KEYDOWN or SDL_KEYUP is reported.
Note:
Repeating SDL_KEYDOWN events will occur if key repeat is enabled (see SDL_EnableKeyRepeat).
SEE ALSO
SDL_Event, SDL_keysym, SDL_EnableKeyRepeat, SDL_EnableUNICODETue 11 Sep 2001, 22:59 | SDL |