How to make 'F' and 'J' left and right ctrl respectively, using Karabiner-Elements?
1
vote
2
answers
341
views
So, I appear to be getting RSI in my left hand due to the frequent pressing of the left-control key. I have already remapped caps-lock to left-control, which did help things for a while.
I would like to use the keys under the index fingers for control keys, however I cannot seem to get it working properly. It does work, but often when typing quickly, it often registers consecutive key presses as a ctrl+char. I don't think I understand the timing parameters properly, so they might be suboptimal.
Here is my config:
One of my rules:
{
"description": "F is left-control if pressed with other keys",
"manipulators": [
{
"from": {
"key_code": "f",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control"
}
],
"to_if_alone": [
{
"key_code": "f"
}
],
"type": "basic"
}
]
},
And my timing configuration:
"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": 300,
"mouse_motion_to_scroll.speed": 100
},
NB: One additional thing to note is that I actually use a colemak layout so in truth the index fingers are above the T and N keys. I have left that out because I think it may not be relevant (my config above does kind of work), and the question above is probably more relevant to more people.
Asked by cammil
(121 rep)
Mar 20, 2020, 10:46 AM
Last activity: May 29, 2025, 07:05 PM
Last activity: May 29, 2025, 07:05 PM