Skip to content

Added keyboard sequence for german QWERTZ layout. #133

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

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

giraone
Copy link

@giraone giraone commented Jul 11, 2022

I have added the keyboard sequence for the standard german keyboard layout, where y and z (and some other special characters) are placed differently compared to the english layout. I did not copy the full tests, that are made for USQwerty, but this is not necessary - the functionality does not depend on the layout itself.

I was unsure about the naming - you may also name the enum entry "DEQwertz", if the focus is on ISO country codes and not language codes. "DE" would be the correct ISO 3166 Alpha-2 country code for Germany. In the long run, this would be correct, because e.g. Switzerland has a slightly different keyboard layout, than Germany.

@dfish3r dfish3r self-assigned this Jul 13, 2022
@dfish3r
Copy link
Member

dfish3r commented Jul 13, 2022

Thanks for the patch! I will rename the enum as the prefix is intended to match the keyboard layout for the country. Admittedly I'm not sure what the prefix for the Swiss layout would be. CHDE perhaps? But that's a problem for another day.

@dfish3r dfish3r merged commit 8fde9b7 into vt-middleware:master Jul 13, 2022
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