windows get_latin_keyboard_variant() implementation and gdscript binding, #5503 #5525
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the
OS_Windows::get_latin_keyboard_variant()
implementation ofOS::get_latin_keyboard_variant()
, and its GDscript binding.This method was already implemented for OSX.
It is still missing for LINUX, ANDROID and others platforms for which it will return QWERTY by default.
There is an open discussion about the purpose of this function, and the alternative workarounds here #5503. (edit : also, for reference, you'll also find there some resources and info to help you debug in case of problems)
edit : also, for reference, here are some python tool scripts and CSV datasheets that will be useful for adding missing keyboards and for debugging :
https://github.com/SuperUserNameMan/os_windows_get_latin_keyboard_variant