glut and gamepads under linux!
Hi all gamedev-ers!
I am writing some OpenGl code,
using glut to "talk" with the X11 stuff.
Now i wanted to add support for an
USB gamepad, but... i dunno where to start:
I correctly installed the gamepad
(i know cause i see output cat-ing the
/dev/input/js0 file). But other than
that i can't see how to get the joy callback
running in the app...
thanks for the help!! :)
I don't know if glut support gamepads. You can have a look at SDL. Here is an article about how to use gamepads with SDL: http://lazyfooproductions.com/SDL_tutorials/lesson22/index.php.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement