-
Notifications
You must be signed in to change notification settings - Fork 947
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 keypress events with non-ascii chars #59
Comments
Merge from upstream
I'm not really sure what's wanted here. The use case of the person who made the issue originally seems to be best solved using scancodes. |
Scancodes are hardware dependent. You got no way of printing a name for the key or anything. If you shouldn't use keycodes, why do they exist in the first place? |
The "name of the key" is supposed to be the virtual key code which is reported alongside with the scancode in every event. |
It would be useful to support querying a human-readable key name from the OS for a given scancode. This would reduce the demand for ridiculously many virtual key codes, and be more convenient/correct for UI purposes besides. |
Co-authored-by: wusyong <[email protected]>
Original: rust-windowing/glutin#625
The text was updated successfully, but these errors were encountered: