{ "title": "RDP Custom keyboard", "rules": [ { "description": "JIS to US with backslash", "manipulators": [ { "type": "basic", "from": { "key_code": "international3", "modifiers": { "optional": [ ] } }, "to": [ { "key_code": "backslash", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "close_bracket", "modifiers": { "optional": [ ] } }, "to": [ { "key_code": "open_bracket", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "open_bracket", "modifiers": { "optional": [ ] } }, "to": [ { "key_code": "2", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "non_us_pound", "modifiers": { "optional": [ ] } }, "to": [ { "key_code": "close_bracket", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "backslash", "modifiers": { "optional": [ ] } }, "to": [ { "key_code": "close_bracket", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "2", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "quote", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "6", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "7", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "7", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "quote", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "8", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "9", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "9", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "0", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "hyphen", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "equal_sign", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "equal_sign", "modifiers": { "optional": [ ] } }, "to": [ { "key_code": "6", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "equal_sign", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "non_us_backslash", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "semicolon", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "equal_sign", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "quote", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "8", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "quote", "modifiers": { "optional": [ ], "mandatory": [ ] } }, "to": [ { "key_code": "semicolon", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "open_bracket", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "non_us_backslash", "modifiers": [] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "close_bracket", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "open_bracket", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "non_us_pound", "modifiers": { "optional": [ ], "mandatory": [ "shift" ] } }, "to": [ { "key_code": "close_bracket", "modifiers": [ "shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] }, { "type": "basic", "from": { "key_code": "international1", "modifiers": { "optional": [ ], "mandatory": [ ] } }, "to": [ { "key_code": "international3", "modifiers": [ ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "^com\\.microsoft\\.rdc\\.mac$" ] } ] } ] } ] }