keyd icon indicating copy to clipboard operation
keyd copied to clipboard

RShift and RCtrl treated as LShift and LCtrl does in fact cause issues

Open soleofthesea opened this issue 1 year ago • 4 comments

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.

Screenshot_20231217_055635

soleofthesea avatar Dec 16 '23 22:12 soleofthesea

You can manually remap the key to rightshift

E.g

[main]
rightshift = rightshift

rvaiya avatar Dec 16 '23 22:12 rvaiya

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.

soleofthesea avatar Dec 16 '23 22:12 soleofthesea

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.

rvaiya avatar Dec 16 '23 22:12 rvaiya

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.

argenkiwi avatar May 10 '24 01:05 argenkiwi