giiEventSend : Inject an event into the input
#include <ggi/gii.h> int giiEventSend(gii_input_t inp, gii_event *ev);
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.
inputs, that are actually rather outputs.
of a valuator device.
giiEventSend returns 0 on success, or an error code otherwise.