Skip to content

Instantly share code, notes, and snippets.

@rolandcrosby
Last active August 11, 2017 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolandcrosby/d5d316ba34a5994cc7598a850eaab4e4 to your computer and use it in GitHub Desktop.
Save rolandcrosby/d5d316ba34a5994cc7598a850eaab4e4 to your computer and use it in GitHub Desktop.
{
"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