Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!ns-mx!tessa.iaf.uiowa.edu From: randy@tessa.iaf.uiowa.edu (randy frank) Newsgroups: comp.sys.sgi Subject: How to send events to other windows? Message-ID: <3214@ns-mx.uiowa.edu> Date: 15 Nov 90 15:57:39 GMT Sender: news@ns-mx.uiowa.edu Distribution: usa Organization: University of Iowa, Image Analysis Facility Lines: 18 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