-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
karabiner: Add karabiner-elements config
- Loading branch information
Jeremy Kaplan
committed
Feb 8, 2020
1 parent
feb5f59
commit a9e63c3
Showing
3 changed files
with
148 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/assets | ||
/automatic_backups |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
{ | ||
"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": "Toggle caps_lock by pressing left_shift + right_shift at the same time", | ||
"manipulators": [ | ||
{ | ||
"from": { | ||
"key_code": "left_shift", | ||
"modifiers": { | ||
"mandatory": [ | ||
"right_shift" | ||
], | ||
"optional": [ | ||
"caps_lock" | ||
] | ||
} | ||
}, | ||
"to": [ | ||
{ | ||
"key_code": "caps_lock" | ||
} | ||
], | ||
"to_if_alone": [ | ||
{ | ||
"key_code": "left_shift" | ||
} | ||
], | ||
"type": "basic" | ||
}, | ||
{ | ||
"from": { | ||
"key_code": "right_shift", | ||
"modifiers": { | ||
"mandatory": [ | ||
"left_shift" | ||
], | ||
"optional": [ | ||
"caps_lock" | ||
] | ||
} | ||
}, | ||
"to": [ | ||
{ | ||
"key_code": "caps_lock" | ||
} | ||
], | ||
"to_if_alone": [ | ||
{ | ||
"key_code": "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": 24866, | ||
"vendor_id": 7504 | ||
}, | ||
"ignore": true, | ||
"manipulate_caps_lock_led": false, | ||
"simple_modifications": [] | ||
}, | ||
{ | ||
"disable_built_in_keyboard_if_exists": false, | ||
"fn_function_keys": [], | ||
"identifiers": { | ||
"is_keyboard": true, | ||
"is_pointing_device": false, | ||
"product_id": 636, | ||
"vendor_id": 1452 | ||
}, | ||
"ignore": false, | ||
"manipulate_caps_lock_led": true, | ||
"simple_modifications": [ | ||
{ | ||
"from": { | ||
"key_code": "caps_lock" | ||
}, | ||
"to": { | ||
"key_code": "escape" | ||
} | ||
}, | ||
{ | ||
"from": { | ||
"key_code": "right_option" | ||
}, | ||
"to": { | ||
"key_code": "right_control" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"disable_built_in_keyboard_if_exists": false, | ||
"fn_function_keys": [], | ||
"identifiers": { | ||
"is_keyboard": true, | ||
"is_pointing_device": false, | ||
"product_id": 50475, | ||
"vendor_id": 1133 | ||
}, | ||
"ignore": false, | ||
"manipulate_caps_lock_led": false, | ||
"simple_modifications": [] | ||
} | ||
], | ||
"fn_function_keys": [], | ||
"name": "Default profile", | ||
"parameters": { | ||
"delay_milliseconds_before_open_device": 1000 | ||
}, | ||
"selected": true, | ||
"simple_modifications": [], | ||
"virtual_hid_keyboard": { | ||
"country_code": 0, | ||
"mouse_key_xy_scale": 100 | ||
} | ||
} | ||
] | ||
} |