sdlStartTextInput function

void sdlStartTextInput()

Start accepting Unicode text input events.

This function will start accepting Unicode text input events in the focused SDL window, and start emitting SDL_TextInputEvent (SDL_TEXTINPUT) and SDL_TextEditingEvent (SDL_TEXTEDITING) events. Please use this function in pair with SDL_StopTextInput().

On some platforms using this function activates the screen keyboard.

\since This function is available since SDL 2.0.0.

\sa SDL_SetTextInputRect \sa SDL_StopTextInput

extern DECLSPEC void SDLCALL SDL_StartTextInput(void)

Implementation

void sdlStartTextInput() {
  final sdlStartTextInputLookupFunction = libSdl2
      .lookupFunction<Void Function(), void Function()>('SDL_StartTextInput');
  return sdlStartTextInputLookupFunction();
}