mirror of
https://github.com/ppy/osu.git
synced 2026-05-16 02:12:51 +08:00
9b3dba939e
- depends on https://github.com/ppy/osu-framework/pull/6737 Adds simple input settings section for pens that allows disabling the handler and adjusting sensitivity. The section appears in-between Tablet and Touch, and only on SDL3 (desktop and mobile). The pen sensitivity is completely independent from mouse sensitivity. <img width="537" height="149" alt="image" src="https://github.com/user-attachments/assets/448eebba-84ea-4daf-8428-3bd07739bd6f" /> <br> Keep in mind that the "Confine mouse cursor to window" mouse setting also affects pens, feel free to suggest UX improvements. Also, toggling "High precision mouse" might affect pens on certain configurations. Edit: added image with updated header. Previously, it was "Device: Pen". --------- Co-authored-by: Dean Herbert <pe@ppy.sh>
18 lines
524 B
C#
18 lines
524 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Framework.Platform;
|
|
|
|
namespace osu.Game.Configuration
|
|
{
|
|
public class DevelopmentOsuConfigManager : OsuConfigManager
|
|
{
|
|
protected override string Filename => base.Filename.Replace(".ini", ".dev.ini");
|
|
|
|
public DevelopmentOsuConfigManager(Storage storage, GameHost? host = null)
|
|
: base(storage, host)
|
|
{
|
|
}
|
|
}
|
|
}
|