glutTabletMotionFunc (3) - Linux Manuals

glutTabletMotionFunc: Sets a tablet motion callback.

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.