将宏键池从 273 扩到 350,并同步 Shigure 发键

在原 7×39 槽之后追加减号、导航六键和四个方向键(7×11),不插入 F4/反引号/NUMPADENTER,避免打乱已有热键。KeySender 改为从左解析修饰前缀以支持 CTRL--,导航和方向键按扩展键发送。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-09-02 03:48:05 +00:00
parent cf812626cb
commit ee8d3d854b
13 changed files with 149 additions and 56 deletions

View File

@@ -41,7 +41,17 @@ internal static class WindowsVirtualKeyMap
["NUMPADPLUS"] = 0x6B,
["NUMPADMINUS"] = 0x6D,
["NUMPADMULTIPLY"] = 0x6A,
["NUMPADDIVIDE"] = 0x6F
["NUMPADDIVIDE"] = 0x6F,
["INSERT"] = 0x2D,
["DELETE"] = 0x2E,
["HOME"] = 0x24,
["END"] = 0x23,
["PAGEUP"] = 0x21,
["PAGEDOWN"] = 0x22,
["LEFT"] = 0x25,
["UP"] = 0x26,
["RIGHT"] = 0x27,
["DOWN"] = 0x28
};
private static readonly Dictionary<string, int> CharacterKeys = new()