Unix/Linux Go Back    


CentOS 7.0 - man page for gluttabletbuttonfunc (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


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 gen-
     eralized 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
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 01:09 AM.