-
Notifications
You must be signed in to change notification settings - Fork 1
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
Keyboard layout problem on .appimage file #2
Comments
We suspect it's the SDL2 library we ship with the game. We already tried building our own, but that introduced more issues than it solved. What I could well imagine is to only load our own SDL2 libraries when there's none on the system. That way, you could install SDL2 yourself from |
Collection of potentially related links:
I'm really not an SDL2 expert, but it looks like the key codes reading in BN is maybe incomplete. I'm tracing how the SDL2 key press events propagate within the codebase. We might have to open the issue there, actually. |
So here's what I got so far: The key handling is implemented in
We have to look into |
Next candidate:
Back in
|
So, Not entirely robust, the whole construct. We should consider moving the entire keymap definition into source code, or alternatively use unique keys to identify entries both in the cubescript and C++ code files. Right now, it all relies on the keymap adding the right keys in the right order. If an entry was missing for instance, it wouldn't work any more. |
It seems that whenever I start a Blue nebula .appimage file, depending on what keyboard layout I use, seems that some of the keys are unrecognisable in gameplay. On chat it's normal.
More specific: US on default module - spacebar is not working. LT 1-9 keys above letters.
The text was updated successfully, but these errors were encountered: