glutTabletButtonFunc man page
glutTabletButtonFunc — Sets a tablet button callback.
OpenGLUT - input
glutTabletButtonFunc(void( *callback )( int button, int state, int x, int y ));
Client tablet button hook.
This function registers acallback
by which you receive reports a tablet button status feature. Buttons are reported withbutton
in the range 1 to glutDeviceGet(GLUT_NUM_TABLET_BUTTONS). state
are the tablet coordinate (see glutTabletMotionFunc() for the bounds ofx
The callback is bound to the
OpenGLUT does not implement tablet support.
We might want to add support for this sooner or later. Although a tablet could also be generalized as a mouse. There are relatively cheap AipTek HyperPen tablets, and slightly less cheap Wacom tablets on many store shelves.