Add gamepad reset option to menu

This commit is contained in:
Sally Coolatta 2025-07-26 21:15:34 -04:00 committed by Rachael Alexanderson
commit 90ff9b5b15
5 changed files with 58 additions and 4 deletions

View file

@ -410,10 +410,7 @@ CCMD (gamepad)
if (command == "reset")
{
if (set) return usage();
sticks[pad]->SetDefaultConfig();
sticks[pad]->SetEnabled(true);
sticks[pad]->SetEnabledInBackground(sticks[pad]->AllowsEnabledInBackground());
sticks[pad]->SetSensitivity(1);
sticks[pad]->Reset();
return;
}
if (command == "enabled")