SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
SDL_EventType | type |
Uint32 | reserved |
Uint64 | timestamp |
SDL_WindowID | windowID |
char * | text |
Keyboard text input event structure (event.text.*)
The text
is owned by SDL and should be copied if the application wants to hold onto it beyond the scope of handling this event.
Definition at line 345 of file SDL_events.h.
Uint32 SDL_TextInputEvent::reserved |
Definition at line 348 of file SDL_events.h.
char* SDL_TextInputEvent::text |
The input text, UTF-8 encoded
Definition at line 351 of file SDL_events.h.
Uint64 SDL_TextInputEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 349 of file SDL_events.h.
SDL_EventType SDL_TextInputEvent::type |
Definition at line 347 of file SDL_events.h.
SDL_WindowID SDL_TextInputEvent::windowID |
The window with keyboard focus, if any
Definition at line 350 of file SDL_events.h.