1gii_val_event(3) GGI gii_val_event(3)
2
3
4
6 gii_val_event : LibGII valuator events
7
9 #include <ggi/events.h>
10
11 typedef struct {
12
13 COMMON_DATA;
14
15 uint32_t first; /* first valuator reported */
16 uint32_t count; /* number reported */
17 int32_t value[32]; /* absolute/relative values */
18
19 } gii_val_event;
20
21
23 A valuator is a representation of the state of an input device in terms
24 of a physical quantity such as length. A valuator event, of type
25 gii_val_event, reports a change in any of those quantities.
26
28 This structure is used for the evValRelative and evValAbsolute events.
29
31 A valuator may be either absolute or relative, like pointer motion
32 events.
33
34 To interpret the numbers, query valuator device info with the GII_CMD‐
35 CODE_GETVALINFO command code.
36
38 gii_event(3), gii_cmddata_getvalinfo(3)
39
40
41
42libgii-1.0.x 2006-12-30 gii_val_event(3)