table of contents
GLUTSPACEBALLMOTIONFUNC(3) | Library Functions Manual (local) | GLUTSPACEBALLMOTIONFUNC(3) |
NAME¶
glutSpaceballMotionFunc
—
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.