Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
On Windows OS glutDeviceGet(GLUT_JOYSTICK_BUTTONS) returns allways 0.
At least on Windows 7 x64, glutJoystickFunc(onJoystick, pollingMilSecs) prints "Could not read joystick name from registry".
The following patch fix both problems.
José Caetano A. C. Silva
Fix number of buttons and joystick device name