So I am a bit confused about the keycodes. I can’t find a way to make sure that the key ‘z’ was pressed with ‘GLFW_KEY_Z’. Do I really have to check:
glfwGetKeyName(GLFW_KEY_UNKNOWN, scancode) == ‘z’
Is there any way to actually check if Z was pressed with the constant GLFW_KEY_Z? It would be nice to have some constants for the ‘z’ like GLFW_KEYCHAR_Z. It seems so arbitrary checking it like shown above.