New BTT user here. I configure caps lock as escape when held down, control when corded using karabiner-elements. I'm trying out BTT as a replacement for it and some other apps I use.
How do I do this using BTT? It doesn't seem to want to map things to control directly.
Should I caps -> some-key using macOS settings and then try to configure some-key pressed-down behavior?
In karabiner this is achieved by complex modifications -
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 500,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control"
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
},
{
"description": "Map escape to caps_lock.",
"manipulators": [
{
"from": {
"key_code": "escape",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "caps_lock"
}
],
"type": "basic"
}
]
}
]
}