1gii_cmddata_getdevinfo(3)             GGI            gii_cmddata_getdevinfo(3)
2
3
4

NAME

6       gii_cmddata_getdevinfo : GII device capabilities description
7

SYNOPSIS

9       #include <ggi/events.h>
10
11       typedef struct {
12           char              longname[75];
13           char              shortname[5];
14           gii_event_mask    can_generate;
15           uint32_t          num_button;
16           uint32_t          num_axes;
17       } gii_cmddata_getdevinfo;
18
19

DESCRIPTION

21       This structure describe an input device.
22

STRUCTURE MEMBERS

24       longname
25              A human-redable NULL terminated string identifying the device.
26
27
28       shortname
29              A 4 chars(+null) identifier for the device.
30
31
32       can_generate
33              This mask tells what kind of events this device can generate.
34
35
36       num_buttons
37              The  number  of  button  this device has.  GII_NUM_UNKNOWN means
38              that the number of button is not known.
39
40
41       num_axes
42              The number of axes this device has.
43
44

SEE ALSO

46       giiQueryDeviceInfo(3)
47
48
49
50libgii-1.0.x                      2006-12-30         gii_cmddata_getdevinfo(3)
Impressum