Created
March 15, 2026 10:38
-
-
Save niyaton/67f3a7d6a69d46209b7004f9104811e1 to your computer and use it in GitHub Desktop.
Left Control acts as normal Ctrl with hold; double tap toggles Hyper mode (not work)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "description": "Left Control acts as normal Ctrl with hold; double tap toggles Hyper mode", | |
| "enabled": false, | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "left_control_tap_once", | |
| "type": "variable_if", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "hyper_mode", | |
| "type": "variable_if", | |
| "value": 0 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_control", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "hyper_mode", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "left_control_tap_once", | |
| "type": "variable_if", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "hyper_mode", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_control", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 0 | |
| } | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "hyper_mode", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "left_control_tap_once", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_mode", | |
| "type": "variable_if", | |
| "value": 0 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_control", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "parameters": { "basic.to_delayed_action_delay_milliseconds": 250 }, | |
| "to": [ | |
| { | |
| "key_code": "left_control", | |
| "lazy": true | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 0 | |
| } | |
| } | |
| ] | |
| }, | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "left_control_tap_once", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_mode", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_control", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "parameters": { "basic.to_delayed_action_delay_milliseconds": 250 }, | |
| "to": [ | |
| { | |
| "key_code": "left_shift", | |
| "lazy": true, | |
| "modifiers": ["left_command", "left_control", "left_option"] | |
| }, | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "set_variable": { | |
| "name": "left_control_tap_once", | |
| "value": 0 | |
| } | |
| } | |
| ] | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment