Re: Question on I/O devices

New Message Reply Date view Thread view Subject view Author view

AnitaKishore (kishore++at++electrogig.com)
Mon, 20 Nov 1995 00:45:07 -0800


On Nov 20, 2:47pm, Lok Liu wrote:
> Subject: Question on I/O devices
> Hi,
>
> I am working on a project that require me to hook up a motion sensor to
> Performer which act very much like a mouse. From my understanding of
> Performer, it only takes input from keyboard or a mouse. However, there
> is not much document on this area as well. Can anyone suggest a way on
> how I can write the driver for the motion sensor that Performer can
> interpret?
>
> Thank you very much in advance.
>
> Lok
>-- End of excerpt from Lok Liu

Two ways that I know of:

1. Use XtAppAddInput to receive X events representing the motion sensor - see
man page/book on XtAppAddInput.

2. Use shared memory between pf process and a process which will collect
data from the motion sensor and write into the shared mem.

good luck

-anita


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:03 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.