🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Joysticks

Started by
1 comment, last by subi211 15 years ago
Hand on heart, I did search for this on the forums, but I can't find anything suitable. ;) I'm trying to add joystick support to the Linux version of my code. Mouse and keyboard control proved to be very little trouble, but I honestly can't locate much joystick stuff. Just about everything I have found tells me to use SDL, but I'd rather not do that, or use any other higher-level libraries, for various reasons. So, what's the lowest I can go without being ridiculous and writing different code for each driver? ;)
Advertisement
Look at the source code of glfw (lib/x11/x11_joystick.c (only 371 lines)) .
Brilliant, exactly what I was looking for. Now I know the words I need to be Googling. Thanks!

This topic is closed to new replies.

Advertisement