Query: giieventsend
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
giiEventSend(3) GGI giiEventSend(3)NAMEgiiEventSend - Inject an event into the inputSYNOPSIS#include <ggi/gii.h> int giiEventSend(gii_input_t inp, gii_event *ev);DESCRIPTIONgiiEventSend 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: 1 Simulating input for independent subprograms. 2 Sending events to externally attached programs via specialized inputs, that are actually rather outputs. 3 Sending command events to inputs, like querying the axis of a valuator device.RETURN VALUEgiiEventSend returns 0 on success, or an gii-error(3) code otherwise.SEE ALSOgiiEventPoll(3) libgii-1.0.x 2006-12-30 giiEventSend(3)