glutSpaceballRotateFunc (3) - Linux Manuals

glutSpaceballRotateFunc: Sets a spaceball rotation callback.

NAME

glutSpaceballRotateFunc - Sets a spaceball rotation callback.

LIBRARY

OpenGLUT - input

SYNOPSIS

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

PARAMETERS

Bf Em
 callback Ef
    Client spaceball rotation hook.

DESCRIPTION

This function registers a callback for a spaceball to report rotation. A spaceball has six axes of freedom (three of motion and three of orientation), plus buttons. The spaceball allows you to rotate a control orientation +/- 1800 units about each of 3 axes.

The callback is bound to the Bf Li
 current window Ef
 .

CAVEATS

OpenGLUT does not implement spaceball support.

SEE ALSO

glutSpaceballMotionFunc(3) glutSpaceballButtonFunc,3