SDL_TextInputEvent
Name
SDL_TextInputEvent -- Text input event structure
Structure Definition
#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
typedef struct SDL_TextInputEvent
{
Uint8 type;
Uint8 which;
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
SDL_WindowID windowID;
} SDL_TextInputEvent;
Structure Data
type |
SDL_SDL_TEXTINPUT |
which |
The keyboard device index |
text |
The input text, at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters |
windowID |
The window with keyboard focus, if any |
Description
SDL_TextInputEvent is a member of the SDL_Event union and is used when an event of type SDL_TEXTINPUT is reported.
See Also
SDL_Event, SDL_StartTextInput, SDL_StopTextInput, SDL_TextEditingEvent
