UNTITLED
LOCAL UNTITLED
NAME
glutTabletMotionFunc -- 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.
SEE ALSO
glutTabletButtonFunc(3) glutMouseFunc(3)
Epoch