glutSpaceballMotionFunc - Man Page
Sets a spaceball motion callback.
Library
OpenGLUT - input
Synopsis
#include <openglut.h
>
void
glutSpaceballMotionFunc
(void( *callback )( int x, int y, int z ));
Parameters
callback
Client spaceball motion hook.
Description
This function registers a callback for a spaceball to report position. A spaceball has six axes of freedom (three of motion and three of orientation), plus buttons. The spaceball allows you to move a control point in 3D space with a resolution of +/- 1000 units along each of 3 axes.
The callback is bound to the
current window
.
Caveats
OpenGLUT does not implement spaceball support.
See Also
glutSpaceballRotateFunc(3) glutSpaceballButtonFunc,(3)