gii_cmddata_getdevinfo(3)

gii_cmddata_getdevinfo3

Gii device capabilities description

Usage

#include <ggi/events.h>
typedef struct {
    char              longname[75];
    char              shortname[5];
    gii_event_mask    can_generate;
    uint32_t          num_button;
    uint32_t          num_axes;
} gii_cmddata_getdevinfo;

Overview

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.

Releases

5 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–7

From libgii1 1:1.0.2-4.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.