sdlHasScreenKeyboardSupport function

bool sdlHasScreenKeyboardSupport()

Check whether the platform has screen keyboard support.

\returns true if the platform has some screen keyboard support or false if not.

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.1.3.

\sa SDL_StartTextInput \sa SDL_ScreenKeyboardShown

extern SDL_DECLSPEC bool SDLCALL SDL_HasScreenKeyboardSupport(void)

Implementation

bool sdlHasScreenKeyboardSupport() {
  final sdlHasScreenKeyboardSupportLookupFunction =
      libSdl3.lookupFunction<Uint8 Function(), int Function()>(
          'SDL_HasScreenKeyboardSupport');
  return sdlHasScreenKeyboardSupportLookupFunction() == 1;
}