1UNTITLED LOCAL UNTITLED
2
4 glutTabletMotionFunc — Sets a tablet motion callback.
5
7 OpenGLUT - input
8
10 #include <openglut.h>
11
12 void
13 glutTabletMotionFunc(void (* callback)( int x, int y ));
14
16 callback Client tablet motion hook.
17
19 This function registers a callback by which OpenGLUT reports a puck or
20 stylus position in the range of [0, 2000] along the x and y axes.
21
22 The callback is bound to the current window .
23
25 OpenGLUT does not implement tablet support.
26
27 This API does not include tilt information.
28
30 We might want to add support for this sooner or later. Although a tablet
31 could also be generalized as a mouse. There are relatively cheap AipTek
32 HyperPen tablets, and slightly less cheap Wacom tablets on many store
33 shelves.
34
36 glutTabletButtonFunc(3) glutMouseFunc(3)
37
38
39
40
41 Epoch