Created
February 20, 2020 18:03
-
-
Save spacelatte/5235096ab5958bf53df2d4cb1d8667bf to your computer and use it in GitHub Desktop.
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
{ | |
"rules": [ | |
{ | |
"description": "Change caps_lock key to command+control+option+shift if pressed with other keys", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option", | |
"modifiers": [ | |
"left_command", | |
"left_control" | |
] | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"hold_down_milliseconds": 100, | |
"key_code": "caps_lock" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change caps_lock key to command+control+option+shift. (Use shift+caps_lock as caps_lock)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"mandatory": [ | |
"shift" | |
], | |
"optional": [ | |
"caps_lock" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "caps_lock" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option", | |
"modifiers": [ | |
"left_command", | |
"left_control" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
], | |
"title": "mert's hyper" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment