#194 Number of joystick buttons on Windows is 0

open
nobody
moderate (59)
5
2013-02-16
2013-02-16
No

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.

Discussion