Fixing some keyboard stuff

This commit is contained in:
2017-11-02 14:44:08 -04:00
parent a18cf2d0b2
commit d1372f0118
3 changed files with 79 additions and 6 deletions

View File

@@ -13,6 +13,26 @@
"rules": [
{
"manipulators": [
{
"description": "^w should delete a word backwards",
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"option"
]
}
],
"type": "basic"
},
{
"description": "Change caps_lock to control when used as modifier, escape when used alone",
"from": {
@@ -39,7 +59,65 @@
}
]
},
"devices": [],
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 1553,
"vendor_id": 3897
},
"ignore": false,
"simple_modifications": [
{
"from": {
"key_code": "escape"
},
"to": {
"key_code": "grave_accent_and_tilde"
}
},
{
"from": {
"key_code": "left_command"
},
"to": {
"key_code": "left_option"
}
},
{
"from": {
"key_code": "left_option"
},
"to": {
"key_code": "left_command"
}
},
{
"from": {
"key_code": "right_option"
},
"to": {
"key_code": "right_command"
}
}
]
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 601,
"vendor_id": 1452
},
"ignore": false,
"simple_modifications": []
}
],
"fn_function_keys": [
{
"from": {