waynergy icon indicating copy to clipboard operation
waynergy copied to clipboard

Fix right alt mapping for Windows primaries

Open milkysch opened this issue 3 years ago • 3 comments

Mod5 modifier required to type accented characters is mapped to LVL3 to which RALT is mapped on keyboards layout that use it. Without this change I wasn't able to use Polish characters (all characters that require holding right alt) on Linux client running swaywm. I bet that this is an unclean way to implement it. I'm just putting it out here for anyone that might need it and/or for someone to actually implement it right.

milkysch avatar Dec 20 '21 10:12 milkysch

Sorry for sort of forgetting about this...

In any case while useful I'm not sure changing the default would be the ideal approach. I did add this as a comment, however, should somebody else question why their right alt is behaving oddly so they will know which value to try immediately.

r-c-f avatar Feb 01 '22 03:02 r-c-f

I'm using Windows 11 + Barrier as Host and all my keys are swapped. Space outputs n Ctrl outputs y ` outputs f And my mouse don't work at all (If you thing this issues are unrelated, please let me know and I'll create a new one)

themaxhero avatar Oct 19 '22 10:10 themaxhero

@themaxhero The mouse thing is worth a new issue, definitely.

For keys, not having Windows 11 handy to test and not wanting to subject anyone else to the fully-manual process I've added a waynergy-mapper utility to interactively construct a new map by iterating through all local keycodes. But it does need the mouse to work as well, so that should be the priority.

r-c-f avatar Oct 21 '22 03:10 r-c-f