I get the wrong keys when using KeyHit() and KeyDown() only on GLFW3. (html5 is okay)
I am running macOS 10.11, have a german keyboard layout but use english system language. When using the code below the output is the reverse of what I expect.
If KeyHit(KEY_Z)
Print "key z" 'prints y
Elseif KeyHit(KEY_Y)
Print "key y" 'prints z
End
I found this github Issue and a workaround seems to be to use glfwGetKeyText() to get a string representation.
I get the wrong keys when using KeyHit() and KeyDown() only on GLFW3. (html5 is okay) I am running macOS 10.11, have a german keyboard layout but use english system language. When using the code below the output is the reverse of what I expect.
I found this github Issue and a workaround seems to be to use glfwGetKeyText() to get a string representation.