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

GII device capabilities description

Name

gii_cmddata_getdevinfo : GII device capabilities description

Synopsis

#include <ggi/events.h>

typedef struct {
    char              longname[75];
    char              shortname[5];
    gii_event_mask    can_generate;
    uint32            num_button;
    uint32            num_axes;
} gii_cmddata_getdevinfo;

Description

This structure describe an input device.

Structure Members

longname
A human-redable NULL terminated string identifying the device.
shortname
A 4 chars(+null) identifier for the device.
can_generate
This mask tells what kind of events this device can generate.
num_buttons
The number of button this device has. GII_NUM_UNKNOWN means that the number of button is not known.
num_axes
The number of axes this device has.

See Also

:man:`giiQueryDeviceInfo(3)`

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

Unknown interpreted text role "man".
 
[ prev :: next :: up ] libgii-current (3)
2006/08/09 02:58:14