[comp.sys.sgi] How to send events to other windows?

randy@tessa.iaf.uiowa.edu (randy frank) (11/15/90)

	Does anyone have sample code for a program which can
insert GL events into the queue of another program?  I need to write
a driver for a pseudo device along the lines of the button box.  The
program would be reading a serial port for the connection to the device
and I would like to provide support for the device under GL via the
event queue.  If anyone could give me source to a program which can
send events to the window with current input focus I would appreciate it.

(actually I would like to be able to send the event to the program which
owns a given window ID if this is easier)

Thanks in advance.
--
rjf.
Randy Frank, Engineer                       |  (319) 335-6712       
University of Iowa, Image Analysis Facility |  73 EMRB              
randy@tessa.iaf.uiowa.edu                   |  Iowa City, IA 52242