glutSpaceballButtonFunc (3) Linux Manual Page
glutSpaceballButtonFunc – Sets a spaceball button callback.
Library
OpenGLUT – inputSynopsis
In openglut.h Ft void Fn glutSpaceballButtonFunc void( *callback )( int button int state )Parameters
Bf EmDescription
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.
