Man Page: glutspaceballbuttonfunc
Operating Environment: centos
Section: 3
UNTITLEDLOCAL UNTITLEDNAMEglutSpaceballButtonFunc -- Sets a spaceball button callback.LIBRARYOpenGLUT - inputSYNOPSIS#include <openglut.h> void glutSpaceballButtonFunc(void( *callback )( int button, int state ));PARAMETERScallback Client spaceball button hook.DESCRIPTIONThis function registers a callback for a spaceball to report buttons. A spaceball has six axes of freedom (three of motion and three of ori- entation), plus buttons. The spaceball has glutDeviceGet( GLUT_NUM_SPACEBALL_BUTTONS) and numbers them from 1. Button state is either GLUT_UP or GLUT_DOWN. The callback is bound to the current window .CAVEATSOpenGLUT does not implement spaceball support. In contrast, mouse buttons are numbered from 0 in the GLUT API. This is a wrinkle.SEE ALSOglutSpaceballRotateFunc(3) glutSpaceballMotiononFunc,(3) Epoch
| Similar Topics in the Unix Linux Community |
|---|
| Weird 'find' results |
| Best performance UNIX just for HOST Virtualization? |
| Docker learning Phase-I |
| Shopt -s histappend |
| Please Welcome Dave Munro to the Moderator Team! |