Last active
July 20, 2022 18:09
-
-
Save ibehnam/6d732f16a180c4d9f29f5269ef604b92 to your computer and use it in GitHub Desktop.
My Karabiner-Elements
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": { | |
"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": 500, | |
"basic.to_if_alone_timeout_milliseconds": 1000, | |
"basic.to_if_held_down_threshold_milliseconds": 500, | |
"mouse_motion_to_scroll.speed": 100 | |
}, | |
"rules": [ | |
{ | |
"description": "Hyper-[] = volume down/up", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "open_bracket", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "close_bracket", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_increment" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "@preview: left/right = prev/next page except when pressed with Opt", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "left_arrow" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "right_arrow" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "right_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "left_arrow", | |
"modifiers": { | |
"mandatory": [ | |
"right_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "@preview: Hyper-jk = down/up", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "@preview: Hyper-deu = page down/up", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "n", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_down" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_up" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "@preview: Hyper-deu = page down/up", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "d", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_down" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_up" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "page_up" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "@preview: Hyper-JK = previous / next page", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper-/-/= = Zoom Out/In", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "hyphen", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "hyphen", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "equal_sign", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "equal_sign", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "@preview: Hyper-gG = go to first / last page", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "g", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "CAPS_LOCK to HYPER (SHIFT+COMMAND+OPTION+CONTROL) or ESCAPE (If Alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": {} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_shift", | |
"modifiers": [ | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Shift-Delete to Delete-Forward (deletes next character, use both shift keys to bypass)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"right_shift" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_shift" | |
], | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Option-Shift-Delete to Option-Delete-Forward (deletes next word, use both shift keys to bypass)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"right_shift" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_shift" | |
], | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"shift", | |
"option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward", | |
"modifiers": [ | |
"left_option" | |
], | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Use Delete as Move to Trash", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.finder" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "delete_forward", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Open Mission Control by hold tab key", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "tab" | |
}, | |
"to_after_key_up": [ | |
{ | |
"key_code": "tab" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"halt": true, | |
"key_code": "mission_control" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper+h/l = switch tabs in an application (preview, terminal, ...)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$", | |
"^com.apple.terminal$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"bundle_identifiers": [ | |
"^com.apple.Preview$", | |
"^com.apple.terminal$" | |
], | |
"type": "frontmost_application_if" | |
} | |
], | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_control", | |
"left_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper-i/j/k/l = vim directional Keys", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper-q/a/w/s = beginning/end of line, backward/forward a word", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "s", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "a", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper-q/a/w/s [2] = delete", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option", | |
"right_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option", | |
"right_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"left_shift" | |
], | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "z", | |
"modifiers": [ | |
"left_command" | |
], | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "z", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option", | |
"right_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "z", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
], | |
"repeat": true | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "x", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"left_command", | |
"left_control", | |
"left_option", | |
"right_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_or_backspace", | |
"modifiers": [ | |
"right_shift" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Command + Shift + v does special paste without formatting, equivalent to. cmd+opt+shift+v.", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "v", | |
"modifiers": { | |
"mandatory": [ | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "v", | |
"modifiers": [ | |
"left_command", | |
"left_option", | |
"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": 22, | |
"vendor_id": 9610 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "application" | |
}, | |
"to": [ | |
{ | |
"apple_vendor_top_case_key_code": "keyboard_fn" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "home" | |
}, | |
"to": [ | |
{ | |
"key_code": "home" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "left_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "right_control" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_option" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "right_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_command" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 834, | |
"vendor_id": 1452 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"apple_vendor_top_case_key_code": "keyboard_fn" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "left_control" | |
}, | |
"to": [ | |
{ | |
"apple_vendor_top_case_key_code": "keyboard_fn" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 49291, | |
"vendor_id": 1133 | |
}, | |
"ignore": true, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [] | |
}, | |
{ | |
"disable_built_in_keyboard_if_exists": false, | |
"fn_function_keys": [], | |
"identifiers": { | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 21025, | |
"vendor_id": 1155 | |
}, | |
"ignore": false, | |
"manipulate_caps_lock_led": true, | |
"simple_modifications": [ | |
{ | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "left_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "right_control" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_option" | |
} | |
] | |
}, | |
{ | |
"from": { | |
"key_code": "right_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_command" | |
} | |
] | |
} | |
] | |
} | |
], | |
"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": [], | |
"virtual_hid_keyboard": { | |
"country_code": 0, | |
"indicate_sticky_modifier_keys_state": true, | |
"mouse_key_xy_scale": 100 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment