Implement "Touch gliding" (keep all dragged/touched buttons pressed until touch release)

I think the feature might need a better name though?

Fixes #14490
This commit is contained in:
Henrik Rydgård committed 2025-02-14 11:00:24 -06:00
1 parent 4f2ceca071
commit 5ef2f06019
4 files changed
+9 -1

No files matched your search

+2
View File
@@ -801,6 +801,8 @@ void GameSettingsScreen::CreateControlsSettings(UI::ViewGroup *controlsSettings)
autoHide->SetFormat(di->T("%d seconds"));
autoHide->SetZeroLabel(co->T("Off"));
controlsSettings->Add(new CheckBox(&g_Config.bTouchGliding, co->T("Touch gliding")));
// Hide stick background, useful when increasing the size
CheckBox *hideStickBackground = controlsSettings->Add(new CheckBox(&g_Config.bHideStickBackground, co->T("Hide touch analog stick background circle")));
hideStickBackground->SetEnabledPtr(&g_Config.bShowTouchControls);