Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Wrong Keys (GLFW3) #95

Open
frameland opened this issue Jan 8, 2017 · 0 comments
Open

Wrong Keys (GLFW3) #95

frameland opened this issue Jan 8, 2017 · 0 comments

Comments

@frameland
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants