[+] 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

@@ -6,6 +6,7 @@ using System.Runtime.InteropServices;
using AquaMai.Attributes;
using AquaMai.Fix;
using AquaMai.Helpers;
using AquaMai.ModKeyMap;
using AquaMai.Resources;
using AquaMai.Utils;
using AquaMai.UX;
@@ -167,6 +168,7 @@ namespace AquaMai
Patch(typeof(FixCheckAuth));
Patch(typeof(DebugFeature));
Patch(typeof(FixConnSlide));
Patch(typeof(FestivalQuickRetryFix));
// Visual
Patch(typeof(FixSlideAutoPlay)); // Rename: SlideAutoPlayTweak -> FixSlideAutoPlay, 不过这个应该无副作用所以不需要改配置文件
Patch(typeof(FixCircleSlideJudge)); // 这个我觉得算无副作用, 可以常开
@@ -179,6 +181,13 @@ namespace AquaMai
// Utils
Patch(typeof(JudgeAdjust));
Patch(typeof(TouchPanelBaudRate));
// ModKeyMap
// TODO: Make it configurable
Patch(typeof(ModKeyListener));
Patch(typeof(QuickSkip));
Patch(typeof(TestProof));
Patch(typeof(PractiseMode));
Patch(typeof(HideSelfMadeCharts));
// Apply patches based on the settings
ApplyPatches();