Skip to content

Instantly share code, notes, and snippets.

@agektmr
Created August 19, 2017 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agektmr/50bc2febd203e3c1ec530454b0a98cb8 to your computer and use it in GitHub Desktop.
Save agektmr/50bc2febd203e3c1ec530454b0a98cb8 to your computer and use it in GitHub Desktop.
Converts JIS keyboard layout to ASCII keyboard layout in Karabinar Elements
{
"title": "For Japanese (JIS配列をASCII配列風にする設定)",
"rules": [
{
"description": "英数・かなキーを他のキーと組み合わせて押したときに、コマンドキーを送信する。",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "japanese_eisuu",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"to_if_alone": [
{
"key_code": "japanese_eisuu"
}
]
},
{
"type": "basic",
"from": {
"key_code": "japanese_kana",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_command"
}
],
"to_if_alone": [
{
"key_code": "japanese_kana"
}
]
}
]
},
{
"description": "コマンドキーをオプションキーに置き換える。",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_option"
}
]
}
]
},
{
"description": "バッククオートとチルダを割り当てる。",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "international3",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment