Add Touch input handler settings section

This commit is contained in:
Susko3 2022-07-16 15:20:15 +02:00
parent 5b9be3e682
commit cf7af0061c
1 changed files with 5 additions and 0 deletions

View File

@ -22,10 +22,12 @@
using osu.Framework.Input.Handlers.Joystick;
using osu.Framework.Input.Handlers.Mouse;
using osu.Framework.Input.Handlers.Tablet;
using osu.Framework.Input.Handlers.Touch;
using osu.Framework.Threading;
using osu.Game.IO;
using osu.Game.IPC;
using osu.Game.Overlays.Settings;
using osu.Game.Overlays.Settings.Sections;
using osu.Game.Overlays.Settings.Sections.Input;
namespace osu.Desktop
@ -156,6 +158,9 @@ public override SettingsSubsection CreateSettingsSubsectionFor(InputHandler hand
case JoystickHandler jh:
return new JoystickSettings(jh);
case TouchHandler th:
return new InputSection.HandlerSection(th);
default:
return base.CreateSettingsSubsectionFor(handler);
}