SysTutorials

Linux Manual Pages › Section 3

glutspaceballmotionfunc(3)

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