You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two keyboard layouts: Russian and US. I want to make WASD controls in game.
When I set layout to US everything working fine: keyboard shortcuts("Ctrl+S" etc.), setting WASD inputs, and InputEventKey scancode returns normal values(87 for "W", 65 for "A", 83 for "S", 68 for "D"). But when I set Russian keyboard layout keyboard shortcuts doesn't work, I can't set letter keys(WASD) in Input Map, WASD doesn't work even if i set it using US layout and then switched to Russian. It doesn't matter if layout is switched before launching Godot(or game itself) or after. And InputEventKey scancode returns 0 for ONLY keys with letters, other keys are not affected.
Steps to reproduce
Add second keyboard layout in Ubuntu 20.04 system settings(Russian)
Launch test project and play it
Set keyboard layout to US, try different keys. It should return non-"0" values.
Change layout to Russian, try letter keys again. It returns 0
Try keyboard shortcuts in editor - it doesn't work
Godot version
3.3.4
System information
Ubuntu 20.04
Issue description
I have two keyboard layouts: Russian and US. I want to make WASD controls in game.
When I set layout to US everything working fine: keyboard shortcuts("Ctrl+S" etc.), setting WASD inputs, and InputEventKey scancode returns normal values(87 for "W", 65 for "A", 83 for "S", 68 for "D"). But when I set Russian keyboard layout keyboard shortcuts doesn't work, I can't set letter keys(WASD) in Input Map, WASD doesn't work even if i set it using US layout and then switched to Russian. It doesn't matter if layout is switched before launching Godot(or game itself) or after. And InputEventKey scancode returns 0 for ONLY keys with letters, other keys are not affected.
Steps to reproduce
Minimal reproduction project
KeyboardLocaleBug.zip
The text was updated successfully, but these errors were encountered: