glfwGetKeyName doesn't work all of a sudden


#1

I was using this line of code with no problems but all of a sudden it doesn’t seem to work for whatever reason.

String currentKey = GLFW.glfwGetKeyName(key, scanCode);

Error:(53, 32) java: cannot find symbol
symbol: method glfwGetKeyName(int,int)
location: class org.lwjgl.glfw.GLFW


#2

I forgot to add the natives to the project.


#3

Excellent, glad you resolved this.