Skip to content

Instantly share code, notes, and snippets.

@src256
Created September 27, 2022 06:31
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 src256/741dbe7bf05c3e848cf022935b4fbd58 to your computer and use it in GitHub Desktop.
Save src256/741dbe7bf05c3e848cf022935b4fbd58 to your computer and use it in GitHub Desktop.
{
"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