glutSpaceballButtonFunc (3) - Linux Manuals
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
 
The callback is bound to the 
Bf Li
 
In contrast, mouse buttons are numbered from 0 in the GLUT API.  This is a wrinkle.
 
 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
 
 
 
 
 
 
 
 CAVEATS
OpenGLUT does not implement spaceball support.