键位修改软件 Karabiner-Elements 的.json 文件,哪里出错了呢?

2022-11-29 14:21:54 +08:00
 ilxv

创建了一个 rule ,想要把:Command + Option + Shift + =(等号键)

映射为:Command + Control + H

json 文件如下:

{
  "title": "name",
  "rules": [
    {
      "description": "none",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "modifiers": {
              "mandatory": [
                "left_command",
                "left_option",
                "left_shift"
              ],
              "optional": [
                "equal_sign"
              ]
            }
          },
          "to": [
            {
              "repeat": true,
              "key_code": "h",
              "modifiers": [
                "left_control",
                "left_command"
              ]
            }
          ]
        }
      ]
    }
  ]
}

求教用过 Karabiner-Elements 的 v 友,哪里出了问题呢?

813 次点击
所在节点    macOS
2 条回复
jheroy
2022-11-30 09:23:33 +08:00
karabiner 的原生配置太繁琐, 可以用 https://github.com/yqrashawn/GokuRakuJoudo 来管理配置, 语法相对简洁很多.
ilxv
2022-12-01 13:03:25 +08:00
@jheroy get

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/898788

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX