Created
December 27, 2018 09:30
-
-
Save sei0o/5ff661b818e89d49a747fb98b4e3b47e to your computer and use it in GitHub Desktop.
Assigns Right Alt of HHKB to toggle the input mode (eisuu/kana). Karabiner required. Put the file below in ~/.config/karabiner/assets/complex_modifications .
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": "HHKB sei0o settings", | |
"rules": [ | |
{ | |
"description": "Set Right Alt key to toggle the input mode", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"description": "hogehoge", | |
"from": { "key_code": "right_alt" }, | |
"to": [ { "key_code": "lang1" } ], | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ { "language": "en"} ] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"description": "hogehoge", | |
"from": { "key_code": "right_alt" }, | |
"to": [ { "key_code": "lang2" } ], | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ { "language": "ja"} ] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment