PDA

View Full Version : Trying to get a BG Systems USB joystick working using GLUT



btsweet57
06-18-2014, 06:26 PM
Hi, I have a 3-axis USB joystick from BG Systems that i am trying to get working with an OpenGL program, using GLUT. I know the Linux system is 'seeing' the joystick as there is another program working that uses GLFW, and it is responding to the joystick.

I've specified a joystick function using glutJoystickFunction(myjoystickfunction, 1/60.). Print statements in that function do not print at all, including when I call glutForceJoystickFunc().

Any ideas? Does that function not execute at all when/if GLUT doesn't detect the joystick?

Barb

przemoli
07-07-2014, 02:55 AM
Pick SDL 2.0.1 (or any newer).

GLUT is dead. Period.