glutSpaceballButtonFunc (3) - Linux Man Pages
glutSpaceballButtonFunc: Sets a spaceball button callback.
NAME
glutSpaceballButtonFunc - Sets a spaceball button callback.LIBRARY
OpenGLUT - inputSYNOPSIS
In openglut.h Ft void Fn glutSpaceballButtonFunc void( *callback )( int button int state )PARAMETERS
Bf Em
DESCRIPTION
This function registers a callback for a spaceball to report buttons. A spaceball has six axes of freedom (three of motion and three of orientation), plus buttons. The spaceball has glutDeviceGet( Bf Sy
The callback is bound to the
Bf Li
CAVEATS
OpenGLUT does not implement spaceball support.In contrast, mouse buttons are numbered from 0 in the GLUT API. This is a wrinkle.