giiEventSend(3gii)

giiEventSend3gii

Inject an event into the input

Usage

#include <ggi/gii.h>

int giiEventSend(gii_input_t inp, gii_event *ev); .SH "DESCRIPTION"

giiEventSend injects an event into the queue. Such events can be identified by (event->any.target == GII_EV_TARGET_QUEUE). There are three main uses for this function:

•

"Simulating" input for independent subprograms.

•

Sending events to externally attached programs via specialized "inputs", that are actually rather "outputs".

•

Sending command events to inputs, like querying the axis of a valuator device.

Return value

giiEventSend returns 0 on success, or an error code otherwise.

Releases

2 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2
  2. 3.0

From libgii0-dev 1:0.8.1-1 in Debian 3.0 (Woody). Parsed by carta from the page's man source.