gluttabletbuttonfunc(3) centos man page | unix.com

Man Page: gluttabletbuttonfunc

Operating Environment: centos

Section: 3

UNTITLED
LOCAL UNTITLED
NAME
glutTabletButtonFunc -- Sets a tablet button callback.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h> void glutTabletButtonFunc(void( *callback )( int button, int state, int x, int y ));
PARAMETERS
callback Client tablet button hook.
DESCRIPTION
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 .
CAVEATS
OpenGLUT does not implement tablet support. Buttons are not pressure-sensitive.
TODO
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.
SEE ALSO
glutTabletButtonFunc(3) glutMouseFunc(3) Epoch
Related Man Pages
glutbuttonboxfunc(3glut) - redhat
glutspaceballbuttonfunc(3glut) - redhat
glutmousefunc(3) - centos
glutspaceballbuttonfunc(3glut) - suse
gluttabletmotionfunc(3glut) - osx
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Tar Command
Controlling user input
Please Welcome Dave Munro to the Moderator Team!