giiEventSend

Name

giiEventSend — inject an event into the input

#include <ggi/gii.h>

int giiEventSend(gii_input_t inp, gii_event *ev);

Description

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

Return value

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

See Also