mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 11:12:39 +00:00
78 lines
No EOL
2.8 KiB
JSON
78 lines
No EOL
2.8 KiB
JSON
{
|
|
"profiles": [
|
|
{
|
|
"complex_modifications": {
|
|
"parameters": { "basic.to_if_alone_timeout_milliseconds": 500 },
|
|
"rules": [
|
|
{
|
|
"description": "Post Esc if Caps is tapped, Control if held.",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "left_control",
|
|
"modifiers": { "optional": ["any"] }
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_control",
|
|
"lazy": true
|
|
}
|
|
],
|
|
"to_if_alone": [{ "key_code": "escape" }],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devices": [
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 45849,
|
|
"vendor_id": 1133
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "left_command" },
|
|
"to": [{ "key_code": "left_option" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "left_option" },
|
|
"to": [{ "key_code": "left_command" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 615,
|
|
"vendor_id": 76
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "consumer_key_code": "eject" },
|
|
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Default profile",
|
|
"selected": true,
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "caps_lock" },
|
|
"to": [{ "key_code": "left_control" }]
|
|
},
|
|
{
|
|
"from": { "key_code": "escape" },
|
|
"to": [{ "key_code": "caps_lock" }]
|
|
}
|
|
],
|
|
"virtual_hid_keyboard": {
|
|
"country_code": 0,
|
|
"keyboard_type_v2": "ansi"
|
|
}
|
|
}
|
|
]
|
|
} |