-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
Can not type number on Azerty-keyboard #83
Comments
Apparently I got very lazy in https://github.com/dabreegster/abstreet/blob/ca22d63671cf76e5d1ae7208a9ce3e46a37358fa/ezgui/src/event.rs#L330. If you're building from source, sync and try this fix. If not, I can send a build. I'm hoping both sets are mapped to the numpad keycodes by winit; if not, let me know |
I managed to build the game! Your fix already improved this a lot - the numerical keyboard now works. |
It looks like I've hardcoded this in ezgui/src/event.rs for qwerty keyboards:
I'll take a look around other projects using |
Could you link the location in the source? I might do a PR |
I just found rust-windowing/winit#753, can deep dive later unless you beat me to it |
Hmmm, no, diving into this will be for some other time... I have to finish a few other projects first... |
Hey,
Just tried AB-streets, pretty cool!
I'm on Kubuntu 19.10 with an Azerty keyboard (Belgian to be precise). These keyboards have numbers under Shift + top row. However, when attempting to type a number, this doesn't work (either I get nothing or the symbol I should get without shift is typed). A bit annoying when phasing traffic lights
The numeric keyboard didn't work either, neither with or without num-lock activated.
The text was updated successfully, but these errors were encountered: