glutButtonBoxFunc (3) - Linux Manuals
glutButtonBoxFunc: Sets a button-box button callback.
NAME
glutButtonBoxFunc - Sets a button-box button callback.LIBRARY
OpenGLUT - inputSYNOPSIS
In openglut.h Ft void Fn glutButtonBoxFunc void( *callback )( int button int state )PARAMETERS
Bf Em
 
The callback is bound to the 
Bf Li
 
Also in contrast, mouse buttons are numbered from 0 in the GLUT API.  This is a wrinkle.
 
 DESCRIPTION
A dials-and-buttons box has buttons numbered from 1 to
glutDeviceGet(
Bf Sy
 
 
 
 
 
 
 
 
 
 
 
 CAVEATS
OpenGLUT does not implement button-box support.