Open Kjubyte opened 2 years ago
This is one of the the weaknesses of the KDE protocol at the moment. Within waynergy there's not much that could realistically be done, as unlike wlroots there's no control over the higher level layout to treat this combination appropriately. Does KDE have the ability to set xkb options for the virtual input device?
Any news here? Did the KDE protocol improve since this ticket was opened? I'm experiencing the same problem, with waynergy 0.0.17 on Plasma 6. On a german layout, there's just too many important symbols reachable via ISO_Level3_Shift to accept that key not working.
Being still annoyed by this bug/missing feature, I started wev
to look at what keystrokes are actually received on AltGr.
It is a combination of both Control_L
and ISO_Level3_Shift
.
So I tried a workaround: Press the actual left control key, then AltGr, then release the control key.
This works! It is still annoying, but way easier than copy/pasting the necessary characters from somewhere.
Hi, first of all: Awesome work! Thank you. I'm using waynergy for a few months now but there are two things that I couldn't get to work. One thing is the mapping of the AltGr key from ISO keyboards from a Windows host to Linux KDE using raw keymaps.
When I press AltGr (ISO_Level3_Shift) Windows is sending two different button presses: Left CTRL (0x1d) and Right Alt (0x0138), but there are some differences in the mask. See Debug Log from Barrier.
On Linux they are translated to CTRL + Alt and not AltGr.
Barrier Log Left CTRL:
Barrier Log Right ALT (I switched to US Layout for this test):
Barrier Log AltGr:
Waynergy Log with Debug Level 9, First button press Left CTRL, second AltGr, last right Alt with US layout (Note that I"m using offset 8)
Output of xev without Waynergy, expected result (Again for right Alt I switched to US layout):
What I actually get using Waynergy (note I mapped 0x138 to 108, otherwise there would only one button press for AltGr and Right Alt wouldn't work eider. Unfortunately it does not work because of the combination of Left CTRL and AltGr):