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
keyboard_get_layout_language and keyboard_get_layout_name not returning active layout on Windows 10 if you have multiple keyboards installed under same langugage
#94071
Closed
Giganzo opened this issue
Jul 8, 2024
· 0 comments
· Fixed by #94120
keyboard_get_layout_language and keyboard_get_layout_name doesn't return the active layout if you have multiple keyboards installed under the same language option on Windows 10.
Steps to reproduce
On Window 10 if you go to Settings > Time & Language > Language.
Then under Preferred languages click on a language and then the Options button.
Then you add multiple keyboards to this language option
In Godot use either use keyboard_get_layout_language or name with keyboard_get_current_layout.
This will always return the same layout name or language code (might be the default or first added keyboard for this Language option, not sure) and not the active layout.
Tested versions
Godot v4.2.2.stable
Godot v4.3.beta2
System information
Godot v4.2.2.stable - Windows 10.0.19045
Issue description
keyboard_get_layout_language and keyboard_get_layout_name doesn't return the active layout if you have multiple keyboards installed under the same language option on Windows 10.
Steps to reproduce
On Window 10 if you go to Settings > Time & Language > Language.
Then under Preferred languages click on a language and then the Options button.
Then you add multiple keyboards to this language option
In Godot use either use keyboard_get_layout_language or name with keyboard_get_current_layout.
This will always return the same layout name or language code (might be the default or first added keyboard for this Language option, not sure) and not the active layout.
Minimal reproduction project (MRP)
KeyboardLayoutTest.zip
The text was updated successfully, but these errors were encountered: