-
-
Save src256/741dbe7bf05c3e848cf022935b4fbd58 to your computer and use it in GitHub Desktop.
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": "RDP Keyboard modification", | |
"rules": [ | |
{ | |
"description": "Modify Windows Alt Muhenkan Henkan keys.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option", | |
"modifiers": [ ] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc\\.macos$" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { | |
"optional": [ | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command", | |
"modifiers": [ ] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc\\.macos$" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "japanese_pc_nfer", | |
"modifiers": { | |
"optional": [ | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "japanese_eisu", | |
"modifiers": [ ] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc\\.macos$" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "japanese_pc_xfer", | |
"modifiers": { | |
"optional": [ | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "japanese_kana", | |
"modifiers": [ ] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.microsoft\\.rdc\\.macos$" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment