AquaDX/AquaMai/TouchSensitivity/Config.cs

73 lines
3.0 KiB
C#
Raw Normal View History

using AquaMai.Attributes;
namespace AquaMai.TouchSensitivity;
public class Config
{
[ConfigComment(
en: """
Enable custom sensitivity
When enabled, the settings in Test mode will not take effect
When disabled, the settings in Test mode can still be used
""",
zh: """
Test
Test
""")]
public bool Enable { get; set; }
[ConfigComment(
en: """
Sensitivity adjustments in Test mode are not linear
Default sensitivity in area A: 90, 80, 70, 60, 50, 40, 30, 26, 23, 20, 10
Default sensitivity in other areas: 70, 60, 50, 40, 30, 20, 15, 10, 5, 1, 1
A setting of 0 in Test mode corresponds to 40, 20 here, -5 corresponds to 90, 70, +5 corresponds to 10, 1
The higher the number in Test mode, the lower the number here, resulting in higher sensitivity for official machines
For ADX, the sensitivity is reversed, so the higher the number here, the higher the sensitivity
""",
zh: """
Test 线
A 90, 80, 70, 60, 50, 40, 30, 26, 23, 20, 10
70, 60, 50, 40, 30, 20, 15, 10, 5, 1, 1
Test 0 40, 20 -5 90, 70+5 10, 1
Test
ADX ADX
""")]
public byte A1 { get; set; } = 40;
public byte A2 { get; set; } = 40;
public byte A3 { get; set; } = 40;
public byte A4 { get; set; } = 40;
public byte A5 { get; set; } = 40;
public byte A6 { get; set; } = 40;
public byte A7 { get; set; } = 40;
public byte A8 { get; set; } = 40;
public byte B1 { get; set; } = 20;
public byte B2 { get; set; } = 20;
public byte B3 { get; set; } = 20;
public byte B4 { get; set; } = 20;
public byte B5 { get; set; } = 20;
public byte B6 { get; set; } = 20;
public byte B7 { get; set; } = 20;
public byte B8 { get; set; } = 20;
public byte C1 { get; set; } = 20;
public byte C2 { get; set; } = 20;
public byte D1 { get; set; } = 20;
public byte D2 { get; set; } = 20;
public byte D3 { get; set; } = 20;
public byte D4 { get; set; } = 20;
public byte D5 { get; set; } = 20;
public byte D6 { get; set; } = 20;
public byte D7 { get; set; } = 20;
public byte D8 { get; set; } = 20;
public byte E1 { get; set; } = 20;
public byte E2 { get; set; } = 20;
public byte E3 { get; set; } = 20;
public byte E4 { get; set; } = 20;
public byte E5 { get; set; } = 20;
public byte E6 { get; set; } = 20;
public byte E7 { get; set; } = 20;
public byte E8 { get; set; } = 20;
}