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

Add OEM keys for azerty only keys #183

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

Conversation

Raraph84
Copy link

Adding support for Windows azerty oem keys (like <> key)
-> See here https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes

@s1hofmann
Copy link
Member

Hi @Raraph84 👋

thanks for opening this PR.
To be honest, I have mixed feelings about it.

Most of the introduced constants are already defined.
Since linbnut defaults to the US ANSI layout the respective constants are directly assigned to their keys.
Additionally, naming is very generic and Windows specific, which does not translate well to other platforms.

Docs state a clear mapping only for US ANSI, so what does oem_1 correspond to on e.g. a German ISO layout?

One thing I see is that for non-US-ANSI layouts a physical key is missing (OEM_102), I'll have to think about how to best integrate all physical keys.

But overall, I'd object to merge this PR for said reasons.

Best regards

Simon

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.

2 participants