Created
June 27, 2021 02:15
-
-
Save henryhchchc/ec1cc5912422ff29f452f4d6ffba0f7a to your computer and use it in GitHub Desktop.
Side button mapping for MX Master 3 for Mac
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": "Logitech MX Master 3 for Mac", | |
"rules": [ | |
{ | |
"description": "Side button for desktop switch", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button4" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button5" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Cmd+Side buttons for mission control and app expose", | |
"manipulators" :[ | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button5", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"apple_vendor_keyboard_key_code": "mission_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button4", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"apple_vendor_keyboard_key_code": "mission_control", | |
"modifiers": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Opt+Side buttons for forward and backward", | |
"manipulators" :[ | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button5", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button4", | |
"modifiers": { | |
"mandatory": [ | |
"left_option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "open_bracket", | |
"modifiers": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Thumb button for launchpad", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"apple_vendor_keyboard_key_code": "launchpad" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"vendor_id": 1133, | |
"product_id": 45091, | |
"description": "Logitech MX Master 3 for Mac" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment