mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Check SteamDeck in keyboard_is_available
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
a537492d9c
commit
c4db7ca51a
@@ -152,7 +152,7 @@ bool BUTTONGLYPHS_keyboard_is_available(void)
|
|||||||
{
|
{
|
||||||
/* Returns true if it makes sense to show button hints that are only available
|
/* 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. */
|
* 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)
|
bool BUTTONGLYPHS_keyboard_is_active(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user