Last active
August 11, 2017 18:03
-
-
Save rolandcrosby/d5d316ba34a5994cc7598a850eaab4e4 to your computer and use it in GitHub Desktop.
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": "Set up cmd and option on Nixeus keyboard", | |
"rules": [ | |
{ | |
"description": "[Nixeus] Change left cmd to option", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{"vendor_id": 1241, "product_id": 36} | |
] | |
} | |
], | |
"type": "basic", | |
"from": {"key_code": "left_command", "modifiers": {"optional": ["any"]}}, | |
"to": [{"key_code": "left_option"}] | |
} | |
] | |
}, | |
{ | |
"description": "[Nixeus] Change left option to cmd", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{"vendor_id": 1241, "product_id": 36} | |
] | |
} | |
], | |
"type": "basic", | |
"from": {"key_code": "left_option", "modifiers": {"optional": ["any"]}}, | |
"to": [{"key_code": "left_command"}] | |
} | |
] | |
}, | |
{ | |
"description": "[Nixeus] Change menu key to option", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{"vendor_id": 1241, "product_id": 36} | |
] | |
} | |
], | |
"type": "basic", | |
"from": {"key_code": "application", "modifiers": {"optional": ["any"]}}, | |
"to": [{"key_code": "right_option"}] | |
} | |
] | |
}, | |
{ | |
"description": "[Nixeus] Change right option to cmd", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{"vendor_id": 1241, "product_id": 36} | |
] | |
} | |
], | |
"type": "basic", | |
"from": {"key_code": "right_option", "modifiers": {"optional": ["any"]}}, | |
"to": [{"key_code": "right_command"}] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment