glutTabletMotionFunc - Man Page
Sets a tablet motion callback.
Library
OpenGLUT - input
Synopsis
#include <openglut.h
>
void
glutTabletMotionFunc
(void (* callback)( int x, int y ));
Parameters
callback
Client tablet motion hook.
Description
This function registers a
callback
by which OpenGLUT reports a puck or stylus position in the range of [0, 2000] along the
x
and
y
axes.
The callback is bound to the
current window
.
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.