[ prev :: next :: up ] libgii-current (3)

Get data about valuators

Name

giiQueryValInfo : Get data about valuators

Synopsis

#include <ggi/gii.h>

int giiQueryValInfo(gii_input_t inp, uint32 origin,
                    uint32 valnumber, gii_cmddata_getvalinfo *info);

Description

Though when using GII inputs the exact type of device is fully transparent to the program, information about the device that is actually attached to a given gii input and origin id can be queried, e.g. for configuration interfaces.

For giiQueryValInfo is used on devices, where giiQueryDeviceInfo has indicated that the device has one or more valuator axes and you want to gather additional info about the physical equivalent of each axis.The parameters :p:`inp` and :p:`origin` select the input to query and :p:`valnumber` selects the specific valuator (an input can have multiple valuators).

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 655); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 655); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 655); backlink

Unknown interpreted text role "p".

The queried data is put into :p:`info`. See :man:`gii_cmddata_getvalinfo(3)` for the description of the structure.

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 663); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 663); backlink

Unknown interpreted text role "man".

Return value

Returns 0 on success (:p:`info` is valid, then) or -1 otherwise.

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 670); backlink

Unknown interpreted text role "p".

See Also

:man:`giiQueryDeviceInfo(3)`

System Message: ERROR/3 (../ggi-core/libgii/doc/libgii.txt, line 676); backlink

Unknown interpreted text role "man".
 
[ prev :: next :: up ] libgii-current (3)
2008/05/04 23:14:58