diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 1540e92b83..3b2c9e2618 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -5416,6 +5416,10 @@ bool SDL_GetTextInputMultiline(SDL_PropertiesID props) static bool AutoShowingScreenKeyboard(void) { const char *hint = SDL_GetHint(SDL_HINT_ENABLE_SCREEN_KEYBOARD); + if (!hint) { + // Steam will eventually have smarts about whether a keyboard is active, so always request the on-screen keyboard on Steam Deck + hint = SDL_GetHint("SteamDeck"); + } if (((!hint || SDL_strcasecmp(hint, "auto") == 0) && !SDL_HasKeyboard()) || SDL_GetStringBoolean(hint, false)) { return true;