Add joystick/gamepad deadzone setting

Also splits joystick/gamepad into a new sub-section.
This commit is contained in:
maromalo
2022-04-23 00:17:00 -03:00
parent 71e4c4f752
commit 27f3499330
3 changed files with 87 additions and 1 deletions

View File

@ -68,7 +68,10 @@ namespace osu.Game.Overlays.Settings.Sections
break;
// whitelist the handlers which should be displayed to avoid any weird cases of users touching settings they shouldn't.
case JoystickHandler _:
case JoystickHandler jh:
section = new JoystickSettings(jh);
break;
case MidiHandler _:
section = new HandlerSection(handler);
break;