GLUTTABLETMOTIONFUNC

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutTabletMotionFunc - Sets a tablet motion callback.  

LIBRARY

OpenGLUT - input  

SYNOPSIS

In openglut.h Ft void Fn glutTabletMotionFunc void (* callback)( int x int y )  

PARAMETERS

Bf Em
 callback Ef
    Client tablet motion hook.  

DESCRIPTION

This function registers a Bf Sy
 callback Ef
 by which OpenGLUT reports a puck or stylus position in the range of [0, 2000] along the Bf Sy
 x Ef
 and  Bf Sy
 y Ef
 axes.

The callback is bound to the Bf Li
 current window Ef
 .

 

CAVEATS

OpenGLUT does not implement tablet support.

This API does not include tilt information.

 

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)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
CAVEATS
TODO
SEE ALSO