-
Notifications
You must be signed in to change notification settings - Fork 53
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
Exclamation mark does not work with some keyboard layouts #308
Labels
Comments
This is wrong Line 276 in 2b8a8ec
|
Translation by |
Actually, it should be fine, because US keyboard matches ASCII table 😉 |
This would be the fix working for me: const char *scan_name = SDL_GetScancodeName(ks.scancode);
if ((scan_name[0] >= 32 && scan_name[0] < 127) && scan_name[1] == '\0'
&& (ks.mod & (KMOD_CTRL | KMOD_ALT | KMOD_GUI)) == 0) Update: This possible fix is in #309 . Please test it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exclamation mark for changing the texture type does not work with some keyboard layouts (like Czech).
Here is the output from tracking of key presses with Czech layout:
and for reference English layout (which works):
❓ This probably comes from #294
The text was updated successfully, but these errors were encountered: