You can use the SDL library (joystick stuff) or GLFW. If you don't want to use SDL, you might need to do some googling how to do it. Of course you can always read the raw joystick data (doable). :D I use xboxdrv userspace driver to play with my xbox controller and SDL-based games usually work quite nicely.
lanxu
Jukka joined
This member has provided no bio about themself...