Trying to get a BG Systems USB joystick working using GLUT

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?


Pick SDL 2.0.1 (or any newer).

GLUT is dead. Period.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.