sdlScreenKeyboardShown function
Check whether the screen keyboard is shown for given window.
\param window the window for which screen keyboard should be queried. \returns true if screen keyboard is shown 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_HasScreenKeyboardSupport
extern SDL_DECLSPEC bool SDLCALL SDL_ScreenKeyboardShown(SDL_Window *window)
Implementation
bool sdlScreenKeyboardShown(Pointer<SdlWindow> window) {
final sdlScreenKeyboardShownLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Pointer<SdlWindow> window),
int Function(Pointer<SdlWindow> window)>('SDL_ScreenKeyboardShown');
return sdlScreenKeyboardShownLookupFunction(window) == 1;
}