[comp.unix.xenix] Reading a Bus Mouse?

rogerk@sco.COM (Roger Knopf 5502) (05/08/90)

In article <RON.90Apr29084854@mlfarm.uucp> ron@mlfarm.uucp (Ronald Florence) writes:
>I'd appreciate advice or code for reading position and button-press
>information from a bus mouse under Xenix 2.3.2.  The appropriate
>headers are available in the development system: /usr/lib/sys/event.h
>and /usr/lib/sys/machdep.h.  I just can't figure out how to open a
>channel to the mouse and read the information.

First place to check out is in the SCO Development System C Language
Guide, subsection C library Guide, chapter 10 "Using the Event Manager".
Next see the event library routine man pages ev*(S).

Roger Knopf
SCO Consulting Services
-- 

"His potential clients were always giving him the business."
	--Robert Thornton

goer@sophist.uucp (Richard Goerwitz) (05/08/90)

In article <5366@scorn.sco.COM> rogerk@sco.COM (Roger Knopf 5502) writes:
>
>>I'd appreciate advice or code for reading position and button-press
>>information from a bus mouse under Xenix 2.3.2....
>
>First place to check out is in the SCO Development System C Language
>Guide, subsection C library Guide, chapter 10 "Using the Event Manager".
>Next see the event library routine man pages ev*(S).

Actually I have R'd TFM.  What I'm interested in is the interface with
the mouse driver.  The event manager shields the programmer from this
insipid business.  This insipid business, however, is precisely what I
want information about.  Thanks, incidentally, to all those who sent me
event manager code.  Thought it wasn't exactly what I was looking for,
it turned out to be very useful anyway.  It will not go unused!


   -Richard L. Goerwitz              goer%sophist@uchicago.bitnet
   goer@sophist.uchicago.edu         rutgers!oddjob!gide!sophist!goer