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

Support to show keyboard keys based on locales #161

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bfritscher
Copy link
Contributor

This fixes partially issue #110 and #65.

Keys are now showed after transforming them with win32 KeyCodeToUnicode.
If a ctrl or alt is used it defaults to the lowercase default letter => shortcut
If shift is pushed without ctrl or alt it shows directly the mapped character, as was handled before with the hardcoded list, but now it is locale specific and automatic.

However there are some improvements which could be added:

  • correct handling of dead keys
  • Keymaps parsing still uses the hardcoded values.
  • alt-gr shows as ctrl + alt + base key instead of special character

@hnrkndrssn hnrkndrssn self-assigned this Jul 16, 2017
@bfritscher
Copy link
Contributor Author

Based on the tests shortcuts letters have to be capital?

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