From d74fffde16626e784f40c06590f9343179ed3326 Mon Sep 17 00:00:00 2001 From: sloane Date: Fri, 1 Nov 2024 09:15:14 -0400 Subject: [PATCH] chore: karabiner upgrade --- .config/karabiner/karabiner.json | 328 +------------------------------ 1 file changed, 9 insertions(+), 319 deletions(-) diff --git a/.config/karabiner/karabiner.json b/.config/karabiner/karabiner.json index 657fa2e..d9ce8d2 100644 --- a/.config/karabiner/karabiner.json +++ b/.config/karabiner/karabiner.json @@ -1,21 +1,8 @@ { - "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 - }, + "global": { "show_in_menu_bar": false }, "profiles": [ { "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, "rules": [ { "description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.", @@ -23,22 +10,10 @@ { "from": { "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } + "modifiers": { "optional": ["any"] } }, - "to": [ - { - "key_code": "left_control" - } - ], - "to_if_alone": [ - { - "key_code": "escape" - } - ], + "to": [{ "key_code": "left_control" }], + "to_if_alone": [{ "key_code": "escape" }], "type": "basic" } ] @@ -47,313 +22,28 @@ }, "devices": [ { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, "identifiers": { - "is_game_pad": false, "is_keyboard": true, - "is_pointing_device": true, "product_id": 20548, "vendor_id": 12815 }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 20548, - "vendor_id": 12815 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, "simple_modifications": [ { - "from": { - "key_code": "left_command" - }, - "to": [ - { - "key_code": "left_option" - } - ] + "from": { "key_code": "left_command" }, + "to": [{ "key_code": "left_option" }] }, { - "from": { - "key_code": "left_option" - }, - "to": [ - { - "key_code": "left_command" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 641, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 641, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 8210, - "vendor_id": 9610 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 8210, - "vendor_id": 9610 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 1031, - "vendor_id": 4176 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "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" + "from": { "key_code": "left_option" }, + "to": [{ "key_code": "left_command" }] } ] } ], "name": "Default profile", - "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 + "keyboard_type_v2": "ansi" } } ]