Skip to content

Added keyboard layout translation for key input in wasm#2152

Closed
Maix0 wants to merge 2 commits intorust-windowing:masterfrom
Maix0:master
Closed

Added keyboard layout translation for key input in wasm#2152
Maix0 wants to merge 2 commits intorust-windowing:masterfrom
Maix0:master

Conversation

@Maix0
Copy link
Copy Markdown

@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 Affects the Web backend (WebAssembly/WASM) 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
Copy Markdown
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 Affects the Web backend (WebAssembly/WASM)

Development

Successfully merging this pull request may close these issues.

3 participants