Last active
August 4, 2017 01:24
-
-
Save rolandcrosby/57db2d67ba75b93af8ede0b5b80d998e 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": "Swap fn and left ctrl on internal keyboard", | |
"rules": [ | |
{ | |
"description": "Change fn to left ctrl", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{"vendor_id": 1452, "product_id": 627}, | |
{"vendor_id": 1452, "product_id": 657} | |
] | |
} | |
], | |
"type": "basic", | |
"from": {"key_code": "fn"}, | |
"to": [{"key_code": "left_control"}] | |
} | |
] | |
}, | |
{ | |
"description": "Change left ctrl to fn", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{"vendor_id": 1452, "product_id": 627}, | |
{"vendor_id": 1452, "product_id": 657} | |
] | |
} | |
], | |
"type": "basic", | |
"from": {"key_code": "left_control"}, | |
"to": [{"key_code": "fn"}] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment