Skip to content

Commit fa136ea

Browse files
committed
Merge branch 'main' of github.com:MuNET-OSS/AquaMai
2 parents 113b3ea + 1b832a5 commit fa136ea

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

AquaMai.Mods/UX/CustomFnToKeyboard.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ namespace AquaMai.Mods.UX;
1313
[ConfigSection(
1414
name: "自定义功能键映射",
1515
en: "Map custom function keys to system-level keyboard keys. By mapping them to keys such as Enter, you can use cabinet buttons for actions like \"pressing Enter to swipe AIME card\". Note: you should set the corresponding button to \"Custom Function Key\" in your controller's IO settings first.",
16-
zh: "将自定义功能键映射为系统级键盘按键。可以通过把自定义功能键映射为Enter等按键,实现用机台按键回车刷卡等功能。注意:使用前需要在对应的控制器IO设置中,将相应的物理按键功能设置为“自定义功能键”。")]
16+
zh: "将控制器上的自定义功能键映射为系统级键盘按键。可以通过把功能键映射为Enter等按键,实现用机台按键回车刷卡等功能。注意:使用前需要在对应的控制器IO设置中,将相应的物理按键功能设置为“自定义功能键”。")]
1717
public static class CustomFnToKeyboard
1818
{
19-
[ConfigEntry(name: "自定义按键1")]
19+
[ConfigEntry(name: "自定义功能键1")]
2020
public static readonly VKCode CustomFn1 = VKCode.None; // 把自定义功能键1映射为键盘上的哪个键。默认均为禁用。
21-
[ConfigEntry(name: "自定义按键2")]
21+
[ConfigEntry(name: "自定义功能键2")]
2222
public static readonly VKCode CustomFn2 = VKCode.None;
23-
[ConfigEntry(name: "自定义按键3")]
23+
[ConfigEntry(name: "自定义功能键3")]
2424
public static readonly VKCode CustomFn3 = VKCode.None;
25-
[ConfigEntry(name: "自定义按键4")]
25+
[ConfigEntry(name: "自定义功能键4")]
2626
public static readonly VKCode CustomFn4 = VKCode.None;
2727

2828
// 与发送系统级按键事件有关的结构体/外部接口等。

AquaMai/configSort.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- GameSystem.MaimollerIO
1616
- GameSystem.PdxTouch
1717
- Tweaks.ResetTouch
18+
- UX.CustomFnToKeyboard
1819

1920
输入设置:
2021
- GameSystem.KeyMap
@@ -164,6 +165,7 @@
164165
- Fancy.GamePlay.FixJudgeTouchHoldInNormalArea
165166
- Fancy.GamePlay.ReviveFinaleVSlide
166167
- UX.DontRuinMyAccount
168+
- UX.CustomFnToKeyboard
167169
- UX.Hide1879
168170
- UX.GrantFinalGateKey
169171
- Fancy.GamePlay.TapInHoldFix

0 commit comments

Comments
 (0)