Rechercher une page de manuel
glutTabletMotionFunc
Langue: en
Version: 150973 (fedora - 04/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutTabletMotionFunc - Sets a tablet motion callback.LIBRARY
OpenGLUT - inputSYNOPSIS
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 Sycallback 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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre