Jump to content
  • Advertisement
Sign in to follow this  
gunslinger77

OpenGL glut and gamepads under linux!

This topic is 4819 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!