glutSpaceballMotionFunc (3) - Linux Manuals

glutSpaceballMotionFunc: Sets a spaceball motion callback.

NAME

glutSpaceballMotionFunc - Sets a spaceball motion callback.

LIBRARY

OpenGLUT - input

SYNOPSIS

In openglut.h Ft void Fn glutSpaceballMotionFunc void( *callback )( int x int y int z )

PARAMETERS

Bf Em
 callback Ef
    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 Bf Li
 current window Ef
 .

CAVEATS

OpenGLUT does not implement spaceball support.

SEE ALSO

glutSpaceballRotateFunc(3) glutSpaceballButtonFunc,3