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

Wrong Keys (GLFW3) #95

@maffl-dev

Description

@maffl-dev

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions