Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix right alt mapping for Windows primaries #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

milkysch
Copy link

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.

Mod5 modifier required to type accented characters is mapped to LVL3 to which RALT is mapped on keyboards layout that use it
r-c-f added a commit that referenced this pull request Feb 1, 2022
Per #17 this allows for an additional modifier level to type certain
special characters. While I wouldn't want to change the default,
the @milkysch suggestion is likely to be useful for someone.
@r-c-f
Copy link
Owner

r-c-f commented Feb 1, 2022

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.

@themaxhero
Copy link

themaxhero commented Oct 19, 2022

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)

@r-c-f
Copy link
Owner

r-c-f commented Oct 21, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants