SDL_HasScreenKeyboardSupport(3)
π SDL_HasScreenKeyboardSupport π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we're checking in on SDL_HasScreenKeyboardSupport β she's a lil function with one job and she does it flawlessly.
β¨ NAME β¨
SDL_HasScreenKeyboardSupport β the vibe check that tells you whether this platform has screen keyboard support. that's it. that's the whole girl. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_keyboard.h>
bool SDL_HasScreenKeyboardSupport(void);
so you pull in the header, call her with no arguments at all (she takes void, she's low maintenance like that π«Ά), and she hands you back a bool.
β¨ RETURN VALUE β¨
trueβ yesss, this platform has some screen keyboard support πfalseβ nope, not here, sorry bestie π
literally just a yes-or-no. no extra tea, no error codes, no drama.
β¨ THREAD SAFETY β¨
β οΈ bestie LISTEN. this function should only be called on the main thread. do not be out here calling her from some random worker thread, she will not answer. main character energy only, on the main thread, periodt. π
β¨ AVAILABILITY β¨
she's been around since SDL 3.2.0 β¨ so if you're on anything older, she simply does not exist yet. not her fault, she was busy being born.
β¨ SEE ALSO β¨
iykyk, go read those next, they're the sisters of this function fr fr.
and that's the whole page!! mwah π this was brought to you by the Simple Directmedia Layer girlies, running SDL 3.4.18, and yes this is the SDL_HasScreenKeyboardSupport(3) page, no cap. bye bestie, go write some slay code πβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms