---
name: "gii_valuator_event"
section: "9gii"
platform: "linux"
package: "libgii0-dev"
version: "1:0.8.1-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/gii_valuator_event"
---

# gii\_valuator\_event(9gii)

LibGII valuator events

## NAME

gii\_valuator\_event - LibGII valuator events

## SYNOPSIS

```
#include <ggi/events.h>

```

## DESCRIPTION

A valuator is a representation of the state of an input device in terms of a physical quantity like 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

```
typedef struct {
        COMMON_DATA;
        uint32  first;          /* first valuator reported      */
        uint32  count;          /* number reported              */
        sint32  value[32];      /* absolute/relative values     */
} gii_val_event;

```

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

To interpret the numbers, query valuator device info with  **GII\_CMDCODE\_GETVALINFO**. \[Comment: The documentator has never used these events, but just read the relevant source and header files. Please send any corrections.\]

## SEE ALSO

**gii\_event**(9)
