Send commands and events to a LibGGI visual

Name

ggiEventSend : Send commands and events to a LibGGI visual

Synopsis

#include <ggi/ggi.h>

int ggiEventSend(ggi_visual_t vis, gii_event *ev);

Description

ggiEventSend injects an event into the queue.

Controlling VT switching behavior

If an application wants to continue running after its VT is switched away, it should make a call ggiEventSend to the visual with an evCommand event with code GGICMD_NOHALT_ON_UNMAP. To disable this behavior, use a command event with code GGICMD_HALT_ON_UNMAP. The latter is the default.

See Also