waynergy
waynergy copied to clipboard
Fix right alt mapping for Windows primaries
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.
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.
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 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.