-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Default key bindings don't work properly with non-QWERTY layouts #11143
Comments
Same as now closed issue #2871 but that was on Windows, but on Windows it now works. Seems that the issues still exists on Linux maybe mac too(I can't test on mac). I got the same issue on Debian Testing. |
To clarify: you're saying that the display of the key bindings is wrong (e.g. top left letter key is shown as Q on both QWERTY and AZERTY), or are the actual keys themselves wrong? The first one is expected I'm pretty sure - framework probably needs a way to unmap key codes into user-facing letters. Edit: actually the two issues will be one and the same, most likely. |
The actual keys are wrong it seems. Say if I bind S and D (which should be U and I with my layout) and play like that, it works even if I'm actually pressing U and I during gameplay. Or gameplay gets it wrong too I guess. |
Once you set the binding, the underlying physical keys should match, but the display won't. This is because we're using scan codes raw, which correspond to physical location assuming QWERTY layout. The solution is probably to map QWERTY->user when displaying to user, but also maybe unmap user->QWERTY when comparing against default bindings, most likely. Or map both and then compare. |
This comment has been minimized.
This comment has been minimized.
With ppy/osu-framework#4834 this issue is semi-resolved, key names are properly displayed in keybind settings. |
For that you would have to dynamically unmap the default bindings from key codes to scan codes using the keymap on every keymap change. This can probably be supported by the framework but unsure if that should always be on. |
I also have this problem on AZERTY keyboard the normally undo shortcut Ctrl + Z is map on Ctrl + W instead. |
Bumping priority of this, feels like something we should try and fix out of usability concerns. (There's already a proposal open, just needs thorough review) |
Describe the bug:
Osu uses the right keyboard layout for typing, but uses a default QWERTY layout for hotkeys and setting keybinds
Screenshots or videos showing encountered issue:
Made a small video to demonstrate : https://www.youtube.com/watch?v=lPZQtZqMFE4&feature=youtu.be
osu!lazer version: Lastest (2020.1204.0)
Logs:
database.log
network.log
performance.log
runtime.log
The text was updated successfully, but these errors were encountered: