{
  "title": "MultiShortcuts Pro for Mac: modifier keys on the home row",
  "maintainers": ["GnuKey LLC"],
  "rules": [
    {
      "description": "MultiShortcuts Pro: Hold ; = Command (tap types ;)",
      "manipulators": [
        {
          "type": "basic",
          "from": { "key_code": "semicolon", "modifiers": { "optional": ["any"] } },
          "to_if_alone": [ { "key_code": "semicolon", "halt": true } ],
          "to_if_held_down": [ { "key_code": "left_command" } ],
          "to_delayed_action": { "to_if_canceled": [ { "key_code": "semicolon" } ] },
          "parameters": {
            "basic.to_if_alone_timeout_milliseconds": 200,
            "basic.to_if_held_down_threshold_milliseconds": 200,
            "basic.to_delayed_action_delay_milliseconds": 200
          }
        }
      ]
    },
    {
      "description": "MultiShortcuts Pro: Hold ` = Option (tap types `)",
      "manipulators": [
        {
          "type": "basic",
          "from": { "key_code": "grave_accent_and_tilde", "modifiers": { "optional": ["any"] } },
          "to_if_alone": [ { "key_code": "grave_accent_and_tilde", "halt": true } ],
          "to_if_held_down": [ { "key_code": "left_option" } ],
          "to_delayed_action": { "to_if_canceled": [ { "key_code": "grave_accent_and_tilde" } ] },
          "parameters": {
            "basic.to_if_alone_timeout_milliseconds": 200,
            "basic.to_if_held_down_threshold_milliseconds": 200,
            "basic.to_delayed_action_delay_milliseconds": 200
          }
        }
      ]
    },
    {
      "description": "MultiShortcuts Pro: Caps Lock tap = ` (launcher key), hold = Option, Shift + Caps Lock = Caps Lock",
      "manipulators": [
        {
          "type": "basic",
          "from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["shift"], "optional": ["caps_lock"] } },
          "to": [ { "key_code": "caps_lock" } ]
        },
        {
          "type": "basic",
          "from": { "key_code": "caps_lock", "modifiers": { "optional": ["any"] } },
          "to_if_alone": [ { "key_code": "grave_accent_and_tilde", "halt": true } ],
          "to_if_held_down": [ { "key_code": "left_option" } ],
          "to_delayed_action": { "to_if_canceled": [ { "key_code": "grave_accent_and_tilde" } ] },
          "parameters": {
            "basic.to_if_alone_timeout_milliseconds": 200,
            "basic.to_if_held_down_threshold_milliseconds": 200,
            "basic.to_delayed_action_delay_milliseconds": 200
          }
        }
      ]
    },
    {
      "description": "MultiShortcuts Pro: Middle mouse button like ; (click = ;, hold = Command, Shift + click = middle click)",
      "manipulators": [
        {
          "type": "basic",
          "from": { "pointing_button": "button3", "modifiers": { "mandatory": ["shift"] } },
          "to": [ { "pointing_button": "button3" } ]
        },
        {
          "type": "basic",
          "from": { "pointing_button": "button3", "modifiers": { "optional": ["any"] } },
          "to_if_alone": [ { "key_code": "semicolon", "halt": true } ],
          "to_if_held_down": [ { "key_code": "left_command" } ],
          "to_delayed_action": { "to_if_canceled": [ { "key_code": "semicolon" } ] },
          "parameters": {
            "basic.to_if_alone_timeout_milliseconds": 200,
            "basic.to_if_held_down_threshold_milliseconds": 200,
            "basic.to_delayed_action_delay_milliseconds": 200
          }
        }
      ]
    },
    {
      "description": "MultiShortcuts Pro (alternative): Middle mouse button like Caps Lock (click = `, hold = Option, Shift + click = middle click)",
      "manipulators": [
        {
          "type": "basic",
          "from": { "pointing_button": "button3", "modifiers": { "mandatory": ["shift"] } },
          "to": [ { "pointing_button": "button3" } ]
        },
        {
          "type": "basic",
          "from": { "pointing_button": "button3", "modifiers": { "optional": ["any"] } },
          "to_if_alone": [ { "key_code": "grave_accent_and_tilde", "halt": true } ],
          "to_if_held_down": [ { "key_code": "left_option" } ],
          "to_delayed_action": { "to_if_canceled": [ { "key_code": "grave_accent_and_tilde" } ] },
          "parameters": {
            "basic.to_if_alone_timeout_milliseconds": 200,
            "basic.to_if_held_down_threshold_milliseconds": 200,
            "basic.to_delayed_action_delay_milliseconds": 200
          }
        }
      ]
    }
  ]
}
