glutSpaceballButtonFunc

sets the Spaceball button callback for the current window.

Signature

glutSpaceballButtonFunc()-> void
glutSpaceballButtonFunc( function )
Specify handler for GLUT 'SpaceballButton' events
 def handler( (int) button, (int) state ):
 return None

Parameters

VariablesDescription
func
The new spaceball button callback function.

See Also

glutSpaceballMotionFunc glutSpaceballRotateFunc glutMouseFunc glutButtonBoxFunc glutTabletButtonFunc glutJoystickFunc glutDeviceGet

Copyright Notices

AltStyle によって変換されたページ (->オリジナル) /