Created
December 30, 2021 07:43
-
-
Save cxfksword/60c7777d49050be43bb957bf64a5de03 to your computer and use it in GitHub Desktop.
Karabiner-Elements 配置-shift切换输入法
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": "Custom", | |
"rules": [ | |
{ | |
"description": "Right shift to change input method except RDP v1.4", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_shift" | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_unless", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.mac" | |
] | |
} | |
], | |
"to": [ | |
{ | |
"repeat": true, | |
"lazy": true, | |
"key_code": "right_shift" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"repeat": true, | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"repeat": true, | |
"lazy": false, | |
"key_code": "right_shift", | |
"halt": false | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment