Last active
December 23, 2021 10:56
-
-
Save thelastlin/c1269683470531873ec89e95ce3d6198 to your computer and use it in GitHub Desktop.
Revisions
-
thelastlin revised this gist
Dec 23, 2021 . 1 changed file with 38 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,17 +10,29 @@ "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" } ] } ] } ] @@ -31,12 +43,35 @@ { "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" } ] } ] } ] -
thelastlin created this gist
Dec 23, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ { "title": "", "rules": [ { "description": "Fn+Caps Lock as Caps Lock", "manipulators": [ { "type": "basic", "from": { "modifiers": { "mandatory": [ "fn" ] }, "simultaneous": [ {} ], "key_code": "caps_lock" }, "to": [ { "key_code": "caps_lock" } ] } ] }, { "description": "Caps Lock as Right Control", "manipulators": [ { "type": "basic", "from": { "key_code": "caps_lock" }, "to": [ { "key_code": "right_control" } ] } ] } ] }