{
  "profiles": [
    {
      "complex_modifications": {
        "rules": [
          {
            "description": "dual purpose modifiers",
            "manipulators": [
              {
                "type": "basic",
                "from": {
                  "key_code": "spacebar",
                  "modifiers": {
                    "optional": [
                      "any"
                    ]
                  }
                },
                "to": [
                  {
                    "lazy": true,
                    "key_code": "left_shift"
                  }
                ],
                "to_if_alone": [
                  {
                    "key_code": "spacebar"
                  }
                ]
              },
              {
                "type": "basic",
                "from": {
                  "key_code": "caps_lock",
                  "modifiers": {
                    "optional": [
                      "any"
                    ]
                  }
                },
                "to": [
                  {
                    "lazy": true,
                    "key_code": "left_control"
                  }
                ],
                "to_if_alone": [
                  {
                    "key_code": "escape"
                  }
                ]
              }
            ]
          }
        ],
        "parameters": {
          "basic.to_if_alone_timeout_milliseconds": 1000,
          "basic.to_if_held_down_threshold_milliseconds": 500,
          "basic.to_delayed_action_delay_milliseconds": 500,
          "basic.simultaneous_threshold_milliseconds": 50,
          "mouse_motion_to_scroll.speed": 100
        }
      },
      "devices": [
        {
          "identifiers": {
            "is_keyboard": true,
            "product_id": 21042,
            "vendor_id": 1155
          },
          "simple_modifications": [
            {
              "from": {
                "key_code": "grave_accent_and_tilde"
              },
              "to": [
                {
                  "key_code": "non_us_backslash"
                }
              ]
            }
          ]
        }
      ],
      "name": "KarabinerTS",
      "selected": true,
      "virtual_hid_keyboard": {
        "keyboard_type_v2": "iso"
      }
    },
    {
      "name": "Default profile",
      "virtual_hid_keyboard": {
        "country_code": 0,
        "keyboard_type_v2": "ansi"
      }
    },
    {
      "complex_modifications": {
        "rules": [
          {
            "description": "Caps Lock to ESC on tap/Left control on hold",
            "manipulators": [
              {
                "from": {
                  "key_code": "caps_lock",
                  "modifiers": {
                    "optional": [
                      "any"
                    ]
                  }
                },
                "to": [
                  {
                    "key_code": "left_control",
                    "lazy": true
                  }
                ],
                "to_if_alone": [
                  {
                    "key_code": "escape"
                  }
                ],
                "type": "basic"
              }
            ]
          },
          {
            "description": "Space to shift on hold",
            "manipulators": [
              {
                "from": {
                  "key_code": "spacebar",
                  "modifiers": {
                    "optional": [
                      "any"
                    ]
                  }
                },
                "to": [
                  {
                    "key_code": "left_shift",
                    "lazy": true
                  }
                ],
                "to_if_alone": [
                  {
                    "key_code": "spacebar"
                  }
                ],
                "type": "basic"
              }
            ]
          }
        ]
      },
      "name": "Modified profile",
      "virtual_hid_keyboard": {
        "country_code": 0,
        "keyboard_type_v2": "iso"
      }
    }
  ]
}