Feature/glfw3

Dear Mike,

We added support for the joystick API functions since we needed them in our project. Great work by the way!