SysTutorials

Linux Manual Pages › Section 3

glutspaceballrotatefunc(3)

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