Karabinerで左CommandKey単体で半角英数, 右CommandKey単体でかな入力する
Karabiner の Complex modifications に Add your own rule する code:json
{
"description": "Left Eisu, Right Kana",
"manipulators": [
{
"from": {
"key_code": "left_command",
"modifiers": { "optional": "any" } },
"parameters": { "basic.to_if_held_down_threshold_milliseconds": 100 },
"to": [
{
"key_code": "left_command",
"lazy": true
}
],
"to_if_alone": "key_code": "japanese_eisuu" },
"to_if_held_down": "key_code": "left_command" },
"type": "basic"
},
{
"from": {
"key_code": "right_command",
"modifiers": { "optional": "any" } },
"parameters": { "basic.to_if_held_down_threshold_milliseconds": 100 },
"to": [
{
"key_code": "right_command",
"lazy": true
}
],
"to_if_alone": "key_code": "japanese_kana" },
"to_if_held_down": "key_code": "right_command" },
"type": "basic"
}
]
}