Add GLFW input event handling