I’m trying to detect movement from the mouse and setup a callback following the example from the GLFW site. Nothing is working, can someone please help me set up a callback?
I’m following GLFW: Input guide
and I cannot find any useful examples of how to use this in my own code.
I can get the setKeyCallback to work just fine, but the cursorPosCallback isn’t as easy to set up.
I just got things working following LWJGL - Lightweight Java Game Library and i am trying to implement the callback into this code.
Thank you for your time and help!