{ "global" : { "ask_for_confirmation_before_quitting" : true, "check_for_updates_on_startup" : true, "show_in_menu_bar" : true, "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" : 500, "basic.to_if_alone_timeout_milliseconds" : 200, "basic.to_if_held_down_threshold_milliseconds" : 500, "mouse_motion_to_scroll.speed" : 100 }, "rules" : [ { "description" : "left_shift to English, caps_lock to Russian", "manipulators" : [ { "from" : { "key_code" : "left_shift", "modifiers" : { "optional" : [ "any" ] } }, "parameters" : { "basic.to_if_held_down_threshold_milliseconds" : 100 }, "to" : [ { "key_code" : "left_shift", "lazy" : true } ], "to_if_alone" : [ { "select_input_source" : { "language" : "ru" } } ], "to_if_held_down" : [ { "key_code" : "left_shift" } ], "type" : "basic" }, { "from" : { "key_code" : "caps_lock", "modifiers" : { "optional" : [ "any" ] } }, "parameters" : { "basic.to_if_held_down_threshold_milliseconds" : 200 }, "to_if_alone" : [ { "select_input_source" : { "language" : "en" } } ], "to_if_held_down" : [ { "key_code" : "caps_lock" } ], "type" : "basic" } ] }, { "description" : "Right Shift becomes comma on tap in Russian", "manipulators" : [ { "conditions" : [ { "input_sources" : [ { "language" : "ru" } ], "type" : "input_source_if" } ], "from" : { "key_code" : "right_shift", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "key_code" : "right_shift", "lazy" : true } ], "to_if_alone" : [ { "key_code" : "6", "modifiers" : [ "right_shift" ] } ], "type" : "basic" } ] } ] }, "devices" : [ { "disable_built_in_keyboard_if_exists" : false, "fn_function_keys" : [ ], "identifiers" : { "is_keyboard" : true, "is_pointing_device" : false, "product_id" : 592, "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" : 50801, "vendor_id" : 9583 }, "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" : 832, "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" : 832, "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" : "Manual", "parameters" : { "delay_milliseconds_before_open_device" : 1000 }, "selected" : false, "simple_modifications" : [ ], "virtual_hid_keyboard" : { "country_code" : 0, "indicate_sticky_modifier_keys_state" : true, "mouse_key_xy_scale" : 100 } }, { "complex_modifications" : { "parameters" : { "basic.simultaneous_threshold_milliseconds" : 50, "basic.to_delayed_action_delay_milliseconds" : 500, "basic.to_if_alone_timeout_milliseconds" : 200, "basic.to_if_held_down_threshold_milliseconds" : 800 }, "rules" : [ { "description" : "Backslash<->open_bracket on advantage2", "manipulators" : [ { "from" : { "key_code" : "open_bracket", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "key_code" : "backslash" } ], "conditions" : [ { "input_sources" : [ { "language" : "ru" } ], "type" : "input_source_if" }, { "identifiers" : [ { "vendor_id" : 10730, "product_id" : 258 } ], "type" : "device_if" } ], "type" : "basic" }, { "from" : { "key_code" : "backslash", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "key_code" : "open_bracket" } ], "conditions" : [ { "input_sources" : [ { "language" : "ru" } ], "type" : "input_source_if" }, { "identifiers" : [ { "vendor_id" : 10730, "product_id" : 258 } ], "type" : "device_if" } ], "type" : "basic" } ] }, { "description" : "Caps->English, LShift->Russian", "manipulators" : [ { "to_if_alone" : [ { "select_input_source" : { "language" : "ru" } } ], "from" : { "key_code" : "left_shift", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "key_code" : "left_shift" } ], "type" : "basic" }, { "to_if_alone" : [ { "select_input_source" : { "language" : "en" } } ], "to_if_held_down" : [ { "key_code" : "caps_lock" } ], "to_after_key_up" : [ { "set_variable" : { "name" : "capskey", "value" : 0 } } ], "from" : { "key_code" : "caps_lock", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "set_variable" : { "name" : "capskey", "value" : 1 } } ], "type" : "basic" } ] }, { "description" : "Tab as Hyper", "manipulators" : [ { "to_if_alone" : [ { "key_code" : "tab" } ], "from" : { "key_code" : "tab" }, "to" : [ { "key_code" : "command" }, { "key_code" : "option" }, { "key_code" : "shift" }, { "key_code" : "control" } ], "type" : "basic" } ] }, { "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", "manipulators" : [ { "from" : { "key_code" : "t" }, "to" : [ { "shell_command" : "open -a '/Applications/kitty.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" }, { "from" : { "key_code" : "b" }, "to" : [ { "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" }, { "from" : { "key_code" : "g" }, "to" : [ { "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" }, { "from" : { "key_code" : "o" }, "to" : [ { "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Poe.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" }, { "from" : { "key_code" : "p" }, "to" : [ { "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" }, { "from" : { "key_code" : "v" }, "to" : [ { "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" }, { "from" : { "key_code" : "spacebar" }, "to" : [ { "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" } ], "conditions" : [ { "name" : "capskey", "value" : 1, "type" : "variable_if" } ], "type" : "basic" } ] }, { "description" : "RShift->comma", "manipulators" : [ { "to_if_alone" : [ { "key_code" : "6", "modifiers" : [ "right_shift" ] } ], "from" : { "key_code" : "right_shift", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "key_code" : "right_shift" } ], "conditions" : [ { "input_sources" : [ { "language" : "ru" } ], "type" : "input_source_if" } ], "type" : "basic" }, { "to_if_alone" : [ { "key_code" : "comma" } ], "from" : { "key_code" : "right_shift", "modifiers" : { "optional" : [ "any" ] } }, "to" : [ { "key_code" : "right_shift" } ], "conditions" : [ { "input_sources" : [ { "language" : "en" } ], "type" : "input_source_if" } ], "type" : "basic" } ] } ] }, "devices" : [ { "disable_built_in_keyboard_if_exists" : false, "fn_function_keys" : [ ], "identifiers" : { "is_keyboard" : true, "is_pointing_device" : false, "product_id" : 592, "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" : 50801, "vendor_id" : 9583 }, "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" : 832, "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" : 832, "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", "parameters" : { "delay_milliseconds_before_open_device" : 1000 }, "selected" : true, "simple_modifications" : [ ], "virtual_hid_keyboard" : { "country_code" : 0, "indicate_sticky_modifier_keys_state" : true, "mouse_key_xy_scale" : 100 } } ] }