sdlIsTextInputActive function

bool sdlIsTextInputActive()

Check whether or not Unicode text input events are enabled.

\returns SDL_TRUE if text input events are enabled else SDL_FALSE.

\since This function is available since SDL 2.0.0.

\sa SDL_StartTextInput

extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputActive(void)

Implementation

bool sdlIsTextInputActive() {
  final sdlIsTextInputActiveLookupFunction =
      libSdl2.lookupFunction<Int32 Function(), int Function()>(
          'SDL_IsTextInputActive');
  return sdlIsTextInputActiveLookupFunction() == 1;
}