I'd like holding two home row letters to translate to holding a modifier.
F+D = Ctrl
F+S = Cmd
F+A = Alt
F+D+S = Ctrl+Cmd
The idea is taken from this post which also describes how to do it using QMK firmware.
My attempt was:
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "",
"manipulators": [
{
"from": {
"key_code": "a",
"simultaneous": [
{
"key_code": "s"
}
]
},
"to_if_held_down": [
{
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
}
]
}
...
}
Just now I've also tried:
{
"description": "",
"manipulators": [
{
"from": {
"simultaneous": [
{
"key_code": "a"
},
{
"key_code": "s"
}
]
},
"to_if_held_down": [
{
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
}