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
glfw.SetKeyCallback doesn't support keyboard layout. It only support US layout. Documentation.
Whereas glfwSetCharCallbackwill support layout
This has for consequence to miss understand event but since we get actual key value from glfwSetCharCallback you will write what your keyboard is supposed to write.
For example if you have an AZERTY keyboard. When pressing A, glfw.keyQ event will be recorded but glfwCharCallback will know you are under another layout and will write A to your screen.
This problem breaks shortcuts under all operating system.
The text was updated successfully, but these errors were encountered:
Flutter version
Does the prebuilt and portable version works ?
Yes
Download Link
Steps to Reproduce
glfw.SetKeyCallback
doesn't support keyboard layout. It only support US layout. Documentation.Whereas
glfwSetCharCallback
will support layoutThis has for consequence to miss understand event but since we get actual key value from
glfwSetCharCallback
you will write what your keyboard is supposed to write.For example if you have an AZERTY keyboard. When pressing A, glfw.keyQ event will be recorded but
glfwCharCallback
will know you are under another layout and will write A to your screen.This problem breaks shortcuts under all operating system.
The text was updated successfully, but these errors were encountered: