(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_IsTextInputActive

Check whether or not Unicode text input events are enabled.

Header File

Defined in SDL_keyboard.h

Syntax

SDL_bool SDL_IsTextInputActive(void);

Return Value

Returns SDL_TRUE if text input events are enabled else SDL_FALSE.

Version

This function is available since SDL 2.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryKeyboard