日本語の入力を親指シフトにしてからプログラム書くとSandS(スペース長押しでシフトキー)の機能が欲しくなる

条件指定 json

"conditions": [
  {
    "input_sources": [
      {
        "input_mode_id": "com.apple.inputmethod.Roman"
      }
    ],
    "type": "input_source_if"
  }
],

全体 json

{
  "description": "Change spacebar to left_shift. (Post spacebar if pressed alone)",
  "manipulators": [
    {
      "conditions": [
        {
          "input_sources": [
            {
              "input_mode_id": "com.apple.inputmethod.Roman"
            }
          ],
          "type": "input_source_if"
        }
      ],
      "from": {
        "key_code": "spacebar",
        "modifiers": {
          "optional": [
            "any"
          ]
        }
      },
      "to": [
        {
          "key_code": "left_shift"
        }
      ],
      "to_if_alone": [
        {
          "key_code": "spacebar"
        }
      ],
      "type": "basic"
    }