keyd
keyd copied to clipboard
`rightcontrol` gets remapped to `leftcontrol` unless explicitly prevented
With the following configuration
[ids]
*
[main]
Inspecting the right control with keyd monitor
prints it as left control. This is further confirmed by compose key not working. I use Hyprland as my WM, and in its settings I have
input {
…
kb_options = compose:rctrl
…
}
That didn't work until I added this to my keyd configuration:
[main]
rightcontrol = rightcontrol
Now everything works as expected, but this might be a source of confusion for other users.
I have to add also:
rightshift = rightshift
for the same reason.
This caused me quite a bit of confusion when it removed VirtualBox's default host key.
Referring to #771, there is a partial solution that allows just tapping right control, while holding it acts as left control: control = overload(control, rightcontrol)
. Another potential solution is also outlined there if right control needs to be a separate modifier.