SDL_HINT_ENA...REEN_KEYBOARD(3)
π SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD π
okay bestie, so this page is literally all about SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD β it's a hint (a variable, a lil vibe switch) that controls whether the Steam on-screen keyboard should be shown when text input is active. that's it. that's the whole gig. β¨
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD "SDL_ENABLE_STEAM_SCREEN_KEYBOARD"
π DESCRIPTION π
so here's the tea: Steam will set this hint via environment variable for games launched in Big Picture mode. that's Steam doing it for you, unprompted, like a friend who already ordered for the table. π«Ά
but if you wanna be the main character and override that? you gotta call SDL_SetHintWithPriority() with priority SDL_HINT_OVERRIDE. no cap, that's the move. π
the variable can be set to these values, and there are exactly two of them, so no choosing struggle:
"0"β do not show the Steam on-screen keyboard. keyboard? never met her. π"1"β show the Steam on-screen keyboard. slay, keyboard is up. π
β οΈ important bestie alert: this hint should be set before SDL is initialized. like, set it early. if you set it after, that's giving too-late energy and it won't do the thing. π
π AVAILABILITY π
this hint is available since SDL 3.4.12. so if you're on anything older... yeah, she's not there yet. π
Simple Directmedia Layer β’ SDL 3.4.18
okay that's the whole page, you ate it, go forth and keyboard responsibly π¦βπ periodt.
π¦ 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