Created
April 14, 2021 05:02
-
-
Save siketyan/2bc736bf27f028161062c0ade9843339 to your computer and use it in GitHub Desktop.
US 配列の macOS から Windows へ RDP をいい感じにしたかった
This file contains hidden or 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 をいい感じにするルール", | |
| "rules": [ | |
| { | |
| "description": "Cmd 単押しで Alt,長押しで Ctrl", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "description": "LCmd 単押しで LAlt,長押しで LCtrl を送信", | |
| "from": { | |
| "key_code": "left_command" | |
| }, | |
| "parameters": { | |
| "basic.to_if_held_down_threshold_milliseconds": 200 | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_command", | |
| "lazy": true | |
| } | |
| ], | |
| "to_if_held_down": [ | |
| { | |
| "key_code": "left_control" | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "key_code": "left_option" | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc\\.", | |
| "^com\\.2X\\.Client\\.Mac" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "description": "RCmd 単押しで RAlt,長押しで RCtrl を送信", | |
| "from": { | |
| "key_code": "right_command" | |
| }, | |
| "parameters": { | |
| "basic.to_if_held_down_threshold_milliseconds": 200 | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_command", | |
| "lazy": true | |
| } | |
| ], | |
| "to_if_held_down": [ | |
| { | |
| "key_code": "right_control" | |
| } | |
| ], | |
| "to_if_alone": [ | |
| { | |
| "key_code": "right_option" | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc\\.", | |
| "^com\\.2X\\.Client\\.Mac" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment