1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Show mouse and joystick settings on mobile

This commit is contained in:
Susko3 2024-05-19 14:07:40 +02:00
parent 5e1f6964d1
commit e4858a975d

View File

@ -578,17 +578,17 @@ namespace osu.Game
{ {
case ITabletHandler th: case ITabletHandler th:
return new TabletSettings(th); return new TabletSettings(th);
case MouseHandler mh:
return new MouseSettings(mh);
case JoystickHandler jh:
return new JoystickSettings(jh);
} }
} }
switch (handler) switch (handler)
{ {
case MouseHandler mh:
return new MouseSettings(mh);
case JoystickHandler jh:
return new JoystickSettings(jh);
case TouchHandler th: case TouchHandler th:
return new TouchSettings(th); return new TouchSettings(th);