Click to Import
Last active
March 14, 2023 15:28
-
-
Save lewangdev/871fde5c1e2ebc3d57a5f22c10973802 to your computer and use it in GitHub Desktop.
Change caps_lock to command+control+option+shift.(Post left_control+spacebar if press alone)
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 characters
{ | |
"title": "CAPS LOCK held_down to command+control+option+shift and press alone quickly to left_control+spacebar", | |
"author": "Le Wang (https://github.com/lewangdev)", | |
"rules": [ | |
{ | |
"description": "Change caps_lock to command+control+option+shift.(Post left_control+spacebar if press alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to_if_alone": [ | |
{ | |
"key_code": "spacebar", | |
"modifiers": ["left_control"] | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "left_shift", | |
"modifiers": ["left_command", "left_control", "left_option"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment