Created
November 25, 2019 06:46
-
-
Save narze/a464ed35b37349ca7a572a6b1b5f6ea6 to your computer and use it in GitHub Desktop.
karabiner.json from my goku
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 50, | |
"basic.to_delayed_action_delay_milliseconds": 50, | |
"basic.to_if_alone_timeout_milliseconds": 100, | |
"basic.to_if_held_down_threshold_milliseconds": 50, | |
"mouse_motion_to_scroll.speed": 100 | |
}, | |
"rules": [ | |
{ | |
"description": "Swap Option / Command on certain devices", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"identifiers": [ | |
{ | |
"product_id": 34050, | |
"vendor_id": 2652 | |
} | |
], | |
"type": "device_if" | |
} | |
], | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"identifiers": [ | |
{ | |
"product_id": 34050, | |
"vendor_id": 2652 | |
} | |
], | |
"type": "device_if" | |
} | |
], | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "hyphen", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Caps -> Hyper / Esc", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Cmd -> Cmd / Underscore", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "hyphen", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "RCmd -> Delete", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Unbind Delete (with beep)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "osascript -e 'beep'" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "LShift -> Shift / (", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_shift", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_shift" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "9", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "left_shift" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "RShift -> Shift / )", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_shift", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "0", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "right_shift" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "ROption -> Option / : (Colemak)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Colemak", | |
"language": "en" | |
} | |
], | |
"type": "input_source_if" | |
} | |
], | |
"from": { | |
"key_code": "right_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_option" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "p", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "right_option" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "F-L -> Delete Word", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "f-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l" | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f" | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "f-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "f-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "F-; -> Delete Line", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "f-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "semicolon" | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f" | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "f-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "f-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Delete <- F+J", | |
"manipulators": [ | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f" | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "insensitive", | |
"key_up_order": "insensitive", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
}, | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 1 | |
} | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Delmode F/J/K -> Delete", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "delete-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f" | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f21" | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "delete-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j" | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f21" | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "delete-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k" | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f21" | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "delete-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper <- S+D", | |
"manipulators": [ | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "s" | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "insensitive", | |
"key_up_order": "insensitive", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper H -> Left", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper J -> Down", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper K -> Up", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper L -> Right", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper F -> Delete", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper ; -> Forward Delete", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_forward" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper I -> Prev Tab", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "open_bracket", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "open_bracket", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper O -> Next Tab", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "close_bracket", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper A -> Option", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SuperDuper V -> Shift", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "superduper-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "f20" | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "superduper-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_shift" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "H for Hyper", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "a" | |
}, | |
"to": [ | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "a", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "b" | |
}, | |
"to": [ | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "b" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "b", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "c" | |
}, | |
"to": [ | |
{ | |
"key_code": "c", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "c" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "c", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "d" | |
}, | |
"to": [ | |
{ | |
"key_code": "d", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "d", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "e" | |
}, | |
"to": [ | |
{ | |
"key_code": "e", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "e", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f" | |
}, | |
"to": [ | |
{ | |
"key_code": "f", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "g" | |
}, | |
"to": [ | |
{ | |
"key_code": "g", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "g" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "g", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "i" | |
}, | |
"to": [ | |
{ | |
"key_code": "i", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "i", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j" | |
}, | |
"to": [ | |
{ | |
"key_code": "j", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "j", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k" | |
}, | |
"to": [ | |
{ | |
"key_code": "k", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "k", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l" | |
}, | |
"to": [ | |
{ | |
"key_code": "l", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "l", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "m" | |
}, | |
"to": [ | |
{ | |
"key_code": "m", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "m", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "n" | |
}, | |
"to": [ | |
{ | |
"key_code": "n", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "n", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "o" | |
}, | |
"to": [ | |
{ | |
"key_code": "o", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "o", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "p" | |
}, | |
"to": [ | |
{ | |
"key_code": "p", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "p", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "q" | |
}, | |
"to": [ | |
{ | |
"key_code": "q", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "q" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "q", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "r" | |
}, | |
"to": [ | |
{ | |
"key_code": "r", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "r" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "r", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "s" | |
}, | |
"to": [ | |
{ | |
"key_code": "s", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "s" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "s", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "t" | |
}, | |
"to": [ | |
{ | |
"key_code": "t", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "t" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "t", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "u" | |
}, | |
"to": [ | |
{ | |
"key_code": "u", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "u", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "v" | |
}, | |
"to": [ | |
{ | |
"key_code": "v", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "v", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "w" | |
}, | |
"to": [ | |
{ | |
"key_code": "w", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "w" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "w", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "x" | |
}, | |
"to": [ | |
{ | |
"key_code": "x", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "x" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "x", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "y" | |
}, | |
"to": [ | |
{ | |
"key_code": "y", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "y" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "y", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "h-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "z" | |
}, | |
"to": [ | |
{ | |
"key_code": "z", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "h" | |
}, | |
{ | |
"key_code": "z" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "h-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "z", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Z Dev Mode", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "u" | |
}, | |
"to": [ | |
{ | |
"key_code": "hyphen" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "hyphen" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "i" | |
}, | |
"to": [ | |
{ | |
"key_code": "equal_sign", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "equal_sign", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "o" | |
}, | |
"to": [ | |
{ | |
"key_code": "9", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "9", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "p" | |
}, | |
"to": [ | |
{ | |
"key_code": "0", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "0", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "h" | |
}, | |
"to": [ | |
{ | |
"key_code": "hyphen", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "hyphen", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j" | |
}, | |
"to": [ | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k" | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l" | |
}, | |
"to": [ | |
{ | |
"key_code": "open_bracket", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "open_bracket", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "semicolon" | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "close_bracket", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "n" | |
}, | |
"to": [ | |
{ | |
"key_code": "equal_sign" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "equal_sign" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "m" | |
}, | |
"to": [ | |
{ | |
"key_code": "backslash", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "backslash", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "comma" | |
}, | |
"to": [ | |
{ | |
"key_code": "comma", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "comma" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "comma", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "period" | |
}, | |
"to": [ | |
{ | |
"key_code": "period", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "period" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "period", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "z-mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "slash" | |
}, | |
"to": [ | |
{ | |
"key_code": "slash", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"simultaneous": [ | |
{ | |
"key_code": "z" | |
}, | |
{ | |
"key_code": "slash" | |
} | |
], | |
"simultaneous_options": { | |
"detect_key_down_uninterruptedly": true, | |
"key_down_order": "strict", | |
"key_up_order": "strict_inverse", | |
"key_up_when": "any", | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 0 | |
} | |
} | |
] | |
} | |
}, | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "z-mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "slash", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "ThumbSense Mode", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "c" | |
}, | |
"to": [ | |
{ | |
"key_code": "c", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "v" | |
}, | |
"to": [ | |
{ | |
"key_code": "v", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f" | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button1" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j" | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button1" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "spacebar" | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button1" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "d" | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k" | |
}, | |
"to": [ | |
{ | |
"pointing_button": "button2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "g" | |
}, | |
"to": [ | |
{ | |
"key_code": "open_bracket", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "h" | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "multitouch_extension_finger_count_total", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "w" | |
}, | |
"to": [ | |
{ | |
"key_code": "w", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [ | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 45133, | |
"vendor_id": 7185 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 50489, | |
"vendor_id": 1133 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": true, | |
"product_id": 45133, | |
"vendor_id": 7185 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": false, | |
"is_pointing_device": true, | |
"product_id": 50489, | |
"vendor_id": 1133 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 24677, | |
"vendor_id": 65261 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 24672, | |
"vendor_id": 65261 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": true, | |
"product_id": 24677, | |
"vendor_id": 65261 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 0, | |
"vendor_id": 13 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 91, | |
"vendor_id": 65261 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 88, | |
"vendor_id": 64593 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [] | |
} | |
], | |
"fn_function_keys": [ | |
{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"to": { | |
"key_code": "mission_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": { | |
"key_code": "launchpad" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": { | |
"key_code": "illumination_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": { | |
"key_code": "illumination_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"to": { | |
"consumer_key_code": "rewind" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": { | |
"consumer_key_code": "play_or_pause" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": { | |
"consumer_key_code": "fastforward" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"to": { | |
"consumer_key_code": "mute" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"to": { | |
"consumer_key_code": "volume_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"to": { | |
"consumer_key_code": "volume_increment" | |
} | |
} | |
], | |
"name": "Default", | |
"parameters": { | |
"delay_milliseconds_before_open_device": 1000 | |
}, | |
"selected": true, | |
"simple_modifications": [], | |
"virtual_hid_keyboard": { | |
"country_code": 0, | |
"mouse_key_xy_scale": 100 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment