glutSpaceballRotateFunc

sets the Spaceball rotation callback for the current window.

Signature

glutSpaceballRotateFunc( )-> void
glutSpaceballRotateFunc( function )
Specify handler for GLUT 'SpaceballRotate' events
    def handler( (int) x, (int) y, (int) z ):
        return None

Parameters

VariablesDescription
func
The new spaceball rotate callback function.

See Also

glutSpaceballMotionFunc glutSpaceballButtonFunc glutMotionFunc glutTabletMotionFunc glutJoystickFunc glutDeviceGet