keyd
keyd copied to clipboard
RShift and RCtrl treated as LShift and LCtrl does in fact cause issues
I am aware that this is intended behavior, however this implementation interferes with fcitx, a program that allows one to type in various Asian languages.
I have set a shortcut to switch between keyboard languages with Ctrl+RShift and fcitx is very particular that it needs to be right Shift, and left Shift does nothing.
You can manually remap the key to rightshift
E.g
[main]
rightshift = rightshift
You can manually remap the key to rightshift
E.g
[main] rightshift = rightshift
Unfortunately, that breaks the main reason why I'm using this program: mapping Shift+F1..F12 to F13..F24.
If you want rightshift
to activate your reconfigured shift layer but also want rightshift+control
to produce fcitx sequence. You can try something like this:
[shift]
rightcontrol = macro2(0, 0, macro(rightshift+rightcontrol))
[control]
rightshift = macro2(0, 0, macro(rightshift+rightcontrol))
bearing in mind that rightshift + rightcontrol
won't allow you to activate C-F1
. Alternatively you can just remap the shortcut by mapping macro(rightshift+rightcontrol)
to any non modifier key within any layer of your choosing.
I just thought I'd mention that I use oneshot(shift)
but it was interfering with quite a relevant shortcut in Android Studio (and I presume all IntelliJ Idea distributions) which is double shift for general search. I tried mapping leftshift
to rightshift
and vicebersa but I did not get what I was expected. Using keyd monitor
I figuered out that both shifts trigger the left one, so I just mapped both to rightshift
in the shift layer to achieve double shift.