[+] Configurable mod key map manager

This commit is contained in:
Clansty
2024-11-01 17:03:57 +08:00
parent ac4db91df4
commit fb96e93184
14 changed files with 331 additions and 136 deletions

View File

@@ -0,0 +1,54 @@
using AquaMai.Attributes;
namespace AquaMai.ModKeyMap;
public class Config
{
[ConfigComment(
en: "Skip to next step",
zh: """
跳过登录过程中的界面直接进入选歌界面
在选歌界面直接结束游戏
""")]
public ModKeyCode QuickSkip { get; set; } = ModKeyCode.None;
public bool QuickSkipLongPress { get; set; }
[ConfigComment(
en: "Quick retry in-game",
zh: "游戏内快速重试")]
public ModKeyCode InGameRetry { get; set; } = ModKeyCode.None;
public bool InGameRetryLongPress { get; set; }
[ConfigComment(
en: "Quick skip in-game",
zh: "游戏内快速跳过")]
public ModKeyCode InGameSkip { get; set; } = ModKeyCode.None;
public bool InGameSkipLongPress { get; set; }
[ConfigComment(
en: "Enter game test mode",
zh: "进入游戏测试模式")]
public ModKeyCode TestMode { get; set; } = ModKeyCode.Test;
public bool TestModeLongPress { get; set; }
[ConfigComment(
zh: "练习模式")]
public ModKeyCode PractiseMode { get; set; } = ModKeyCode.None;
public bool PractiseModeLongPress { get; set; }
[ConfigComment(
zh: "选歌界面隐藏所有自制谱")]
public ModKeyCode HideSelfMadeCharts { get; set; } = ModKeyCode.None;
public bool HideSelfMadeChartsLongPress { get; set; }
[ConfigComment(
en: "Hold the bottom four buttons (3456) for official quick retry (non-utage only)",
zh: "按住下方四个按钮3456使用官方快速重开仅对非宴谱有效")]
public bool EnableNativeQuickRetry { get; set; }
}