Last active
December 23, 2021 10:56
-
-
Save thelastlin/c1269683470531873ec89e95ce3d6198 to your computer and use it in GitHub Desktop.
karabiner configure: Use FN+Caps as Caps, Caps as Right Control
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
{ | |
"title": "", | |
"rules": [ | |
{ | |
"description": "Fn+Caps Lock as Caps Lock", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
}, | |
"key_code": "caps_lock" | |
}, | |
"to": [ | |
{ | |
"key_code": "caps_lock" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 833, | |
"description": "Apple A2338 Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Caps Lock as Right Control", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"optional": [ | |
"left_shift", | |
"left_control", | |
"left_option", | |
"left_command", | |
"right_shift", | |
"right_option", | |
"right_command" | |
] | |
}, | |
"key_code": "caps_lock" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1452, | |
"product_id": 833, | |
"description": "Apple A2338 Internal Keyboard" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment