Last active
September 16, 2024 07:14
-
-
Save chalkygames123/a6f50853ce40b2ae175fd66638fd5a9d to your computer and use it in GitHub Desktop.
Minimal Karabiner-Elements rules for switching input sources between Japanese Eisuu and Kana with command keys in the US keyboard layout.
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": "Change left_command/right_command to japanese_eisuu/japanese_kana, respectively. (Post left_command/right_command if pressed alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { "optional": ["any"] } | |
}, | |
"to": [{ "key_code": "left_command" }], | |
"to_if_alone": [{ "key_code": "japanese_eisuu" }], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { "optional": ["any"] } | |
}, | |
"to": [{ "key_code": "right_command" }], | |
"to_if_alone": [{ "key_code": "japanese_kana" }], | |
"type": "basic" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment