CentOS 7.0 - man page for gluttabletbuttonfunc (centos section 3)
|Linux & Unix Commands - Search Man Pages
UNTITLED LOCAL UNTITLED
glutTabletButtonFunc -- Sets a tablet button callback.
OpenGLUT - input
glutTabletButtonFunc(void( *callback )( int button, int state, int x, int y ));
callback Client tablet button hook.
This function registers a callback by which you receive reports a tablet button status
feature. Buttons are reported with button in the range 1 to glutDeviceGet(
GLUT_NUM_TABLET_BUTTONS). state is either GLUT_UP or GLUT_DOWN and x and y are
the tablet coordinate (see glutTabletMotionFunc() for the bounds of x and y).
The callback is bound to the current window .
OpenGLUT does not implement tablet support.
Buttons are not pressure-sensitive.
We might want to add support for this sooner or later. Although a tablet could also be gen-
eralized as a mouse. There are relatively cheap AipTek HyperPen tablets, and slightly less
cheap Wacom tablets on many store shelves.
All times are GMT -4. The time now is 01:09 AM.