Last active
June 6, 2018 02:55
-
-
Save OrcaXS/d885ce815f95dfc2e61a390b57dfa04d to your computer and use it in GitHub Desktop.
karabiner-elements-shift-to-caps-lock-under-chinese-scim
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
{ | |
"description":"Press Shift to toggle CN/EN", | |
"manipulators":[ | |
{ | |
"conditions":[ | |
{ | |
"input_sources":[ | |
{ | |
"input_source_id":"com.apple.inputmethod.SCIM.ITABC" | |
} | |
], | |
"type":"input_source_if" | |
} | |
], | |
"from":{ | |
"key_code":"left_shift", | |
"modifiers":{ | |
"optional":[ | |
"any" | |
] | |
} | |
}, | |
"parameters":{ | |
"basic.to_if_alone_timeout_milliseconds":125, | |
"basic.to_if_held_down_threshold_milliseconds":125 | |
}, | |
"to_if_alone":[ | |
{ | |
"key_code":"caps_lock", | |
"hold_down_milliseconds":100 | |
} | |
], | |
"to_if_held_down":[ | |
{ | |
"key_code":"left_shift" | |
} | |
], | |
"type":"basic" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment