mirror of
https://github.com/ppy/osu.git
synced 2026-05-26 08:10:35 +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>
58 lines
3.2 KiB
XML
58 lines
3.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup Label="Project">
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Nuget">
|
|
<Title>osu!</Title>
|
|
<PackageId>ppy.osu.Game</PackageId>
|
|
<Version>0.0.0</Version>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<IsPackable>true</IsPackable>
|
|
</PropertyGroup>
|
|
<ItemGroup Label="Icon">
|
|
<None Include="..\assets\lazer-nuget.png">
|
|
<Pack>True</Pack>
|
|
<PackagePath>icon.png</PackagePath>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup Label="Package References">
|
|
<!-- Held back due to licencing change stupidness. Silenced vulnerability does not affect us. -->
|
|
<PackageReference Include="AutoMapper" Version="13.0.1">
|
|
<NoWarn>NU1903</NoWarn>
|
|
</PackageReference>
|
|
<PackageReference Include="DiffPlex" Version="1.9.0" />
|
|
<PackageReference Include="HtmlAgilityPack" Version="1.12.4" />
|
|
<!-- Held back due to .NET 9 requirement. See https://github.com/Humanizr/Humanizer?tab=readme-ov-file#supported-frameworks-->
|
|
<PackageReference Include="Humanizer" Version="2.14.1" />
|
|
<PackageReference Include="MessagePack" Version="3.1.4" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="10.0.5" />
|
|
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
|
<PackageReference Include="ppy.LocalisationAnalyser" Version="2025.1208.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Realm" Version="20.1.0" />
|
|
<PackageReference Include="ppy.osu.Framework" Version="2026.428.0" />
|
|
<PackageReference Include="ppy.osu.Game.Resources" Version="2026.427.0" />
|
|
<PackageReference Include="Sentry" Version="6.2.0" />
|
|
<!-- Held back due to 0.34.0 failing AOT compilation on ZstdSharp.dll dependency. -->
|
|
<PackageReference Include="SharpCompress" Version="0.47.0" />
|
|
<PackageReference Include="NUnit" Version="4.5.1" />
|
|
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.2" />
|
|
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
|
<PackageReference Include="TagLibSharp" Version="2.3.0" />
|
|
|
|
<!-- Required since Veldrid references a library that depends on Microsoft.DotNet.PlatformAbstractions (2.0.3), which doesn't play nice with Realm. -->
|
|
<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
|
|
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
|
|
<PackageReference Include="System.Runtime.Handles" Version="4.3.0" />
|
|
</ItemGroup>
|
|
</Project>
|