From c4db7ca51a72476e27f5ee38aa3f7b59416e15be Mon Sep 17 00:00:00 2001 From: AllyTally Date: Wed, 23 Aug 2023 15:15:39 -0300 Subject: [PATCH] Check SteamDeck in keyboard_is_available --- desktop_version/src/ButtonGlyphs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/ButtonGlyphs.cpp b/desktop_version/src/ButtonGlyphs.cpp index 9f4361b2..4a01870a 100644 --- a/desktop_version/src/ButtonGlyphs.cpp +++ b/desktop_version/src/ButtonGlyphs.cpp @@ -152,7 +152,7 @@ bool BUTTONGLYPHS_keyboard_is_available(void) { /* Returns true if it makes sense to show button hints that are only available * on keyboards (like press M to mute), false if we're on a console. */ - return true; + return !SDL_GetHintBoolean("SteamDeck", SDL_FALSE); } bool BUTTONGLYPHS_keyboard_is_active(void)