latest carabiner

This commit is contained in:
Ivar Fatland
2025-12-04 10:09:56 +01:00
parent 6c13ff552c
commit 251e547fb6
3 changed files with 274 additions and 274 deletions
@@ -1,117 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -0,0 +1,164 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "spacebar",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"lazy": true,
"key_code": "left_shift"
}
],
"to_if_alone": [
{
"key_code": "spacebar"
}
]
},
{
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"lazy": true,
"key_code": "left_control"
}
],
"to_if_alone": [
{
"key_code": "escape"
}
]
}
]
}
],
"parameters": {
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.simultaneous_threshold_milliseconds": 50,
"mouse_motion_to_scroll.speed": 100
}
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": {
"key_code": "grave_accent_and_tilde"
},
"to": [
{
"key_code": "non_us_backslash"
}
]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": {
"keyboard_type_v2": "iso"
}
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "spacebar"
}
],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
+17 -64
View File
@@ -7,59 +7,36 @@
"description": "dual purpose modifiers", "description": "dual purpose modifiers",
"manipulators": [ "manipulators": [
{ {
"type": "basic",
"from": { "from": {
"key_code": "spacebar", "key_code": "spacebar",
"modifiers": { "modifiers": { "optional": ["any"] }
"optional": [
"any"
]
}
}, },
"to": [ "to": [
{ {
"lazy": true, "key_code": "left_shift",
"key_code": "left_shift" "lazy": true
} }
], ],
"to_if_alone": [ "to_if_alone": [{ "key_code": "spacebar" }],
{ "type": "basic"
"key_code": "spacebar"
}
]
}, },
{ {
"type": "basic",
"from": { "from": {
"key_code": "caps_lock", "key_code": "caps_lock",
"modifiers": { "modifiers": { "optional": ["any"] }
"optional": [
"any"
]
}
}, },
"to": [ "to": [
{ {
"lazy": true, "key_code": "left_control",
"key_code": "left_control" "lazy": true
} }
], ],
"to_if_alone": [ "to_if_alone": [{ "key_code": "escape" }],
{ "type": "basic"
"key_code": "escape"
} }
] ]
} }
] ]
}
],
"parameters": {
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.simultaneous_threshold_milliseconds": 50,
"mouse_motion_to_scroll.speed": 100
}
}, },
"devices": [ "devices": [
{ {
@@ -70,23 +47,15 @@
}, },
"simple_modifications": [ "simple_modifications": [
{ {
"from": { "from": { "key_code": "grave_accent_and_tilde" },
"key_code": "grave_accent_and_tilde" "to": [{ "key_code": "non_us_backslash" }]
},
"to": [
{
"key_code": "non_us_backslash"
}
]
} }
] ]
} }
], ],
"name": "KarabinerTS", "name": "KarabinerTS",
"selected": true, "selected": true,
"virtual_hid_keyboard": { "virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
"keyboard_type_v2": "iso"
}
}, },
{ {
"name": "Default profile", "name": "Default profile",
@@ -104,11 +73,7 @@
{ {
"from": { "from": {
"key_code": "caps_lock", "key_code": "caps_lock",
"modifiers": { "modifiers": { "optional": ["any"] }
"optional": [
"any"
]
}
}, },
"to": [ "to": [
{ {
@@ -116,11 +81,7 @@
"lazy": true "lazy": true
} }
], ],
"to_if_alone": [ "to_if_alone": [{ "key_code": "escape" }],
{
"key_code": "escape"
}
],
"type": "basic" "type": "basic"
} }
] ]
@@ -131,11 +92,7 @@
{ {
"from": { "from": {
"key_code": "spacebar", "key_code": "spacebar",
"modifiers": { "modifiers": { "optional": ["any"] }
"optional": [
"any"
]
}
}, },
"to": [ "to": [
{ {
@@ -143,11 +100,7 @@
"lazy": true "lazy": true
} }
], ],
"to_if_alone": [ "to_if_alone": [{ "key_code": "spacebar" }],
{
"key_code": "spacebar"
}
],
"type": "basic" "type": "basic"
} }
] ]