-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Wrong displayed keys for AZERTY keyboard #1151
Comments
your keyboard is the same as qwerty |
That's not the case however. The right keys get typed in chat. If it was the same as QUERTY it would type QUERTY instead of AZERTY in chat. I'm not sure how the Move X and Move Y aren't affected by this though. |
This is possibly because scancodes ≠ keycodes, because operating systems let you choose your keyboard layout without requiring different hardware. The game polls for scancodes and has a hardcoded map of keycodes for them. SDL scancodes used by the game The fix may be for the game to get keyboard layout info from the OS and assign names to the scancodes accordingly. |
Intentional behavior. As scancodes are used, and there is no platform-agnostic way to get mapped key names, you will be seeing QUERTY key names instead of the ones for your layout. |
Platform: Windows
Build: 100.1
Issue: Invalid displayed keys for AZERTY keyboards.
Move X should be Q (left) and D (right)
Move Y should be Z (up) and S (down)
The controls somehow still function correctly. Just displayed wrong.
Q should be A (need to actually press A to cancel)
Steps to reproduce: Play any level on survival.
The text was updated successfully, but these errors were encountered: