355 lines
14 KiB
JSON
355 lines
14 KiB
JSON
{
|
|
"global": { "show_in_menu_bar": false },
|
|
"profiles": [
|
|
{
|
|
"complex_modifications": {
|
|
"rules": [
|
|
{
|
|
"description": "Change right_command+hjkl to arrow keys",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "h",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{ "key_code": "left_arrow" }],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "j",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{ "key_code": "down_arrow" }],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "k",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{ "key_code": "up_arrow" }],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{ "key_code": "right_arrow" }],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devices": [
|
|
{
|
|
"fn_function_keys": [
|
|
{
|
|
"from": { "key_code": "f1" },
|
|
"to": [{ "consumer_key_code": "mute" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f2" },
|
|
"to": [{ "consumer_key_code": "volume_decrement" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f3" },
|
|
"to": [{ "consumer_key_code": "volume_increment" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f10" },
|
|
"to": [{ "consumer_key_code": "play_or_pause" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f11" },
|
|
"to": [{ "consumer_key_code": "display_brightness_decrement" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f12" },
|
|
"to": [{ "consumer_key_code": "display_brightness_increment" }]
|
|
}
|
|
],
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 591,
|
|
"vendor_id": 1452
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "caps_lock" },
|
|
"to": [{ "key_code": "escape" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "down_arrow" },
|
|
"to": [{ "pointing_button": "button32" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "escape" },
|
|
"to": [{ "key_code": "grave_accent_and_tilde" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "left_arrow" },
|
|
"to": [{ "pointing_button": "button32" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "left_command" },
|
|
"to": [{ "key_code": "left_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "left_option" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_arrow" },
|
|
"to": [{ "pointing_button": "button32" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "up_arrow" },
|
|
"to": [{ "pointing_button": "button32" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 631,
|
|
"vendor_id": 1452
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "non_us_backslash" },
|
|
"to": [{ "key_code": "grave_accent_and_tilde" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 6194,
|
|
"vendor_id": 4152
|
|
},
|
|
"ignore": true,
|
|
"manipulate_caps_lock_led": false
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 615,
|
|
"vendor_id": 76
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_pointing_device": true,
|
|
"product_id": 6194,
|
|
"vendor_id": 4152
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "pointing_button": "button5" },
|
|
"to": [{ "apple_vendor_keyboard_key_code": "launchpad" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 30264,
|
|
"vendor_id": 3141
|
|
},
|
|
"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": "right_command" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": { "is_keyboard": true },
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_option" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 34056,
|
|
"vendor_id": 3141
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "left_command" },
|
|
"to": [{ "key_code": "left_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "left_option" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 615,
|
|
"vendor_id": 1452
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "consumer_key_code": "eject" },
|
|
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 668,
|
|
"vendor_id": 76
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_option" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 45929,
|
|
"vendor_id": 1133
|
|
},
|
|
"manipulate_caps_lock_led": false,
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_option" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"fn_function_keys": [
|
|
{
|
|
"from": { "key_code": "f1" },
|
|
"to": [{ "key_code": "f1" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f2" },
|
|
"to": [{ "key_code": "f2" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f11" },
|
|
"to": [{ "key_code": "f11" }]
|
|
}
|
|
],
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 785,
|
|
"vendor_id": 13364
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 666,
|
|
"vendor_id": 76
|
|
},
|
|
"ignore": true
|
|
}
|
|
],
|
|
"fn_function_keys": [
|
|
{
|
|
"from": { "key_code": "f5" },
|
|
"to": [{ "key_code": "f5" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "f6" },
|
|
"to": [{ "key_code": "f13" }]
|
|
}
|
|
],
|
|
"name": "Default profile",
|
|
"selected": true,
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "consumer_key_code": "eject" },
|
|
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "caps_lock" },
|
|
"to": [{ "key_code": "escape" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "grave_accent_and_tilde" },
|
|
"to": [{ "key_code": "non_us_backslash" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "left_command" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_command" },
|
|
"to": [{ "key_code": "right_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "right_option" },
|
|
"to": [{ "key_code": "right_command" }]
|
|
}
|
|
],
|
|
"virtual_hid_keyboard": {
|
|
"country_code": 0,
|
|
"keyboard_type_v2": "iso"
|
|
}
|
|
}
|
|
]
|
|
} |