Advertisement Jump to content
Sign in to follow this  
gunslinger77

OpenGL glut and gamepads under linux!

This topic is 4884 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!! :)

Share this post


Link to post
Share on other sites
Advertisement
thanks for the advice,
but unfortunately i am not working with
native OpenGL, but with an engine built
over it. So I am afraid
that I don't have much time to
switch to SDL.
I think i'll use that as a last resort...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!