gii_val_event(3)

gii_val_event3

Libgii valuator events

Usage

#include <ggi/events.h>
typedef struct {
    COMMON_DATA;
    uint32_t  first;          /* first valuator reported      */
    uint32_t  count;          /* number reported              */
    int32_t   value[32];      /* absolute/relative values     */
} gii_val_event;

Overview

A valuator is a representation of the state of an input device in terms of a physical quantity such as length. A valuator event, of type gii_val_event, reports a change in any of those quantities.

Generated events

This structure is used for the evValRelative and evValAbsolute events.

Structure members

A valuator may be either absolute or relative, like pointer motion events.

To interpret the numbers, query valuator device info with the GII_CMDCODE_GETVALINFO command code.

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.