Last active
March 9, 2019 13:38
-
-
Save jorgeyp/3e0a5a5484a52f58e5fe5f7068da8292 to your computer and use it in GitHub Desktop.
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": "Microsoft Sculpt Mouse", | |
"rules": [ | |
{ | |
"description": "Mission Control, expose and launchpad with side button", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1118, | |
"product_id": 1957, | |
"is_keyboard": false, | |
"is_pointing_device": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1118, | |
"product_id": 1957, | |
"is_keyboard": false, | |
"is_pointing_device": true | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"left_command" | |
] | |
} | |
}, | |
"to_if_alone": [ | |
{ | |
"key_code": "launchpad" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1118, | |
"product_id": 1957, | |
"is_keyboard": false, | |
"is_pointing_device": true | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment