Advertisement

Joysticks

Started by June 17, 2009 04:56 AM
1 comment, last by subi211 15 years, 5 months 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? ;)
Look at the source code of glfw (lib/x11/x11_joystick.c (only 371 lines)) .
Advertisement
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