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

Added keyboard layout translation for key input in wasm #2152

Closed
wants to merge 2 commits into from

Conversation

Maix0
Copy link

@Maix0 Maix0 commented Jan 13, 2022

I had this problem where when running on WASM, the keyboard input was locked to QWERTY.
The change I made only fix the layout for key that output letters (so A, B, C, ...) and is only made because the new Keyboard API is to be released someday.
Other keys could be added but I don't have the knowledge to automate such things (as I need to open a page, test every key on my keyboard and record the key value by hand)

@madsmtm madsmtm added DS - web C - waiting on maintainer A maintainer must review this code B - bug Dang, that shouldn't have happened labels Jan 13, 2022
@kchibisov
Copy link
Member

Sorry that you've patched was missed likely due to wasm maintainers being mia in general in winit. We have a more general solution to what you describe in #2662 which will land about now.

@kchibisov kchibisov closed this May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened C - waiting on maintainer A maintainer must review this code DS - web
Development

Successfully merging this pull request may close these issues.

3 participants