Poster of Linux kernelThe best gift for a Linux geek
giiEventSend

giiEventSend

Section: GGI (3) Updated: 2006-12-30
Local index Up
 

NAME

giiEventSend - Inject an event into the input  

SYNOPSIS

#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.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 VALUE

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

SEE ALSO

giiEventPoll(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:46:57 GMT, April 16, 2011