1giiQueryValInfo(3) GGI giiQueryValInfo(3)
2
3
4
6 giiQueryValInfo : Get data about valuators
7
9 #include <ggi/gii.h>
10
11 int giiQueryValInfo(gii_input_t inp, uint32_t origin,
12 uint32_t valnumber, gii_cmddata_getvalinfo *info);
13
14
16 Though when using GII inputs the exact type of device is fully transā
17 parent to the program, information about the device that is actually
18 attached to a given gii input and origin id can be queried, e.g. for
19 configuration interfaces.
20
21 For giiQueryValInfo is used on devices, where giiQueryDeviceInfo(3) has
22 indicated that the device has one or more valuator axes and you want to
23 gather additional info about the physical equivalent of each axis.The
24 parameters inp and origin select the input to query and valnumber
25 selects the specific valuator (an input can have multiple valuators).
26
27 The queried data is put into info. See gii_cmddata_getvalinfo(3) for
28 the description of the structure.
29
31 Returns 0 on success (info is valid, then) or -1 otherwise.
32
34 giiQueryDeviceInfo(3)
35
36
37
38libgii-1.0.x 2006-12-30 giiQueryValInfo(3)