1giiEventSend(3)                       GGI                      giiEventSend(3)
2
3
4

NAME

6       giiEventSend : Inject an event into the input
7

SYNOPSIS

9       #include <ggi/gii.h>
10
11       int giiEventSend(gii_input_t inp, gii_event *ev);
12
13

DESCRIPTION

15       giiEventSend  injects an event into the queue. Such events can be iden‐
16       tified by (event->any.target == GII_EV_TARGET_QUEUE).  There are  three
17       main uses for this function:
18
19       1   Simulating input for independent subprograms.
20
21       2   Sending  events  to  externally  attached  programs via specialized
22           inputs, that are actually rather outputs.
23
24       3   Sending command events to inputs, like querying the axis of a valu‐
25           ator device.
26

RETURN VALUE

28       giiEventSend returns 0 on success, or an gii-error(3) code otherwise.
29

SEE ALSO

31       giiEventPoll(3)
32
33
34
35libgii-1.0.x                      2006-12-30                   giiEventSend(3)
Impressum