2

我正在尝试为我的 HHKB 键盘绑定shift + delete|karabiner。

我确实可以将上面的序列映射到backslash,这可能是小写的|,但我还没有找到任何方法将它直接映射到|char 。

这是我尝试过的:

      {
        "description": "shift + delete to pipe",
        "manipulators": [
          {
            "from": {
              "key_code": "delete_or_backspace",
              "modifiers": {
                "mandatory": [
                  "shift"
                ]
              }
            },
            "to": [
              {
                "key_code": "backslash"
              }
            ],
            "type": "basic"
          }
        ]
      },
4

1 回答 1

0

你应该添加

"modifiers": ["left_shift"]`

"to": [
  {
    "key_code": "backslash",
    "modifiers": ["left_shift"]
  }
]
于 2018-07-16T21:42:48.057 回答