-
-
Save luutuankiet/b8aa3676d66b08d83320252bf20fda6a to your computer and use it in GitHub Desktop.
Karabiner Elements config to simulate SpaceLauncher, with mod for command arrows
This file contains 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": { | |
"ask_for_confirmation_before_quitting": true, | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 50, | |
"basic.to_delayed_action_delay_milliseconds": 100, | |
"basic.to_if_alone_timeout_milliseconds": 300, | |
"basic.to_if_held_down_threshold_milliseconds": 150, | |
"mouse_motion_to_scroll.speed": 100 | |
}, | |
"rules": [ | |
{ | |
"description": "SpaceFN: Space enables SpaceFN mode (see: https://geekhack.org/index.php?topic=51069.0)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+b to Space (hold to repeat)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+[hjkl] to Left, Down, Up, Right", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+; to command < , Space+' to command >", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": { | |
"key_code": "left_arrow", | |
"modifiers": "command" | |
}, | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "quote", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": { | |
"key_code": "right_arrow", | |
"modifiers": "command" | |
}, | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+u to Home, Space+o to End", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "home" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "end" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+e to Escape, Space+m to Backtick (`), Space+Comma to Tilde (~)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"devices": [ | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 641, | |
"vendor_id": 1452 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [], | |
"treat_as_built_in_keyboard": false | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": false, | |
"is_pointing_device": true, | |
"product_id": 641, | |
"vendor_id": 1452 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": false, | |
"simple_modifications": [], | |
"treat_as_built_in_keyboard": false | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 34304, | |
"vendor_id": 1452 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [], | |
"treat_as_built_in_keyboard": false | |
} | |
], | |
"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": [ | |
{ | |
"apple_vendor_keyboard_key_code": "mission_control" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": [ | |
{ | |
"apple_vendor_keyboard_key_code": "spotlight" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": [ | |
{ | |
"consumer_key_code": "dictation" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": [ | |
{ | |
"key_code": "f6" | |
} | |
] | |
}, | |
{ | |
"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": "fast_forward" | |
} | |
] | |
}, | |
{ | |
"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 profile", | |
"parameters": { | |
"delay_milliseconds_before_open_device": 1000 | |
}, | |
"selected": true, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"apple_vendor_top_case_key_code": "keyboard_fn" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
] | |
} | |
], | |
"virtual_hid_keyboard": { | |
"country_code": 0, | |
"indicate_sticky_modifier_keys_state": true, | |
"mouse_key_xy_scale": 100 | |
} | |
} | |
], | |
"rules": [ | |
{ | |
"description": "SpaceFN: Space enables SpaceFN mode (see: https://geekhack.org/index.php?topic=51069.0)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "_spacefn_mode", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"key_code": "spacebar" | |
}, | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 300, | |
"basic.to_if_held_down_threshold_milliseconds": 150 | |
}, | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 1 | |
} | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+b to Space (hold to repeat)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "b", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+[hjkl] to Left, Down, Up, Right", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Space+[1-9] to F[1-9], Space+0 to F10, Space+Hyphen (-) to F11, Space+Equal Sign (=) to F12", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f1" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f2" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f3" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f4" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f5" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f6" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f7" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f8" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f9" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f10" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "hyphen", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f11" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "equal_sign", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f12" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Some Personal Shortcuts", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Emacs" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a iTerm" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Safari" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Finder" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Application Group", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a QQ" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Wechat" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "t", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Telegram" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Preview" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "f", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a Firefox" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a NeteaseMusic" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_app_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"shell_command": "open -a 'System Preferences'" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "spacefn_mode", | |
"type": "variable_if", | |
"value": 1 | |
} | |
], | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_app_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_app_mode", | |
"value": 0 | |
} | |
}, | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 1 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "spacefn_app_mode", | |
"value": 0 | |
} | |
}, | |
{ | |
"set_variable": { | |
"name": "spacefn_mode", | |
"value": 1 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "SpaceFN: Disable SpaceFN mode after last typing", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "caps_lock" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_control" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_shift" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_shift" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_option" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_command" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_control" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "right_control" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_shift" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "right_shift" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_option" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "right_option" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_command" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "right_command" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "fn" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "fn" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "return_or_enter" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "return_or_enter" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "escape" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "escape" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_or_backspace" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_forward" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "delete_forward" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "tab" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "tab" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "spacebar" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "spacebar" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "hyphen" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "hyphen" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "equal_sign" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "equal_sign" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "open_bracket" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "open_bracket" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "close_bracket" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "close_bracket" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "backslash" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "backslash" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "non_us_pound" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "non_us_pound" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "semicolon" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "semicolon" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "quote" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "quote" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "grave_accent_and_tilde" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "grave_accent_and_tilde" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "comma" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "comma" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "period" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "period" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "slash" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "slash" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "non_us_backslash" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "non_us_backslash" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "up_arrow" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "down_arrow" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "left_arrow" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_arrow" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "a" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "a" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "b" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "b" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "c" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "c" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "d" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "d" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "e" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "e" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "g" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "g" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "h" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "h" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "i" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "j" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "k" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "k" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "l" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "m" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "m" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "n" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "n" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "o" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "p" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "p" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "q" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "q" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "r" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "r" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "s" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "s" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "t" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "t" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "u" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "u" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "v" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "v" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "w" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "w" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "x" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "x" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "y" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "y" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "z" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "z" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "1" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "1" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "2" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "2" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "3" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "3" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "4" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "4" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "5" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "5" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "6" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "6" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "7" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "7" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "8" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "8" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "9" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "9" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "0" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "0" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f1" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f2" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f3" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f4" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f5" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f6" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f7" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f8" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f9" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f10" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f11" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"parameters": { | |
"basic.to_delayed_action_delay_milliseconds": 100 | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 1 | |
} | |
}, | |
{ | |
"key_code": "f12" | |
} | |
], | |
"to_delayed_action": { | |
"to_if_canceled": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_invoked": [ | |
{ | |
"set_variable": { | |
"name": "_spacefn_mode", | |
"value": 0 | |
} | |
} | |
] | |
}, | |
"type": "basic" | |
} | |
] | |
} | |
], | |
"title": "SpaceFN" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment