home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!ucla-cs!rutgers!ub!dsinc!pitt.edu!gvls1!jabber!candle!root
- From: root@candle.uucp (Bruce Momjian)
- Newsgroups: comp.sys.ibm.pc.hardware
- Subject: Communicating with a Mouse
- Message-ID: <1992Jul19.174420.3354@candle.uucp>
- Date: 19 Jul 92 17:44:20 GMT
- Organization: a consultant's basement
- Lines: 31
- X-Newsreader: Tin 1.1 PL4
-
- I have a Genius Mouse (Mouse systems compatible) and wish to know how to
- interpret the stream of bytes it sends through the COM port.
-
- I have learned:
-
- it sends a continuous stream of bytes at 2400 baud
-
- watch the change in bits, rather than the bits themselves
-
- each roller sends a different pattern in different directions
-
- I have not been able to determine how to identify which roller is
- moving, but I can pretty much tell it's direction. There also seems to
- be other bit change patterns I can not figure out. I assume there is no
- communication from the computer to the mouse. The mouse button clicks
- do not change the byte stream, which confuses me.
-
- The Genius manual is very detailed in how to communicate and control the
- mouse through the device driver they supply (giving examples in assembly
- language ane BASIC), but I am running under Unix, and need to interpret
- the bytes myself.
-
- If anyone has the address or phone number of Genius, I would appreciate
- it. Perhaps they have something they could fax me also.
-
- Thanks.
-
- --
- Bruce Momjian | 830 Blythe Avenue
- root%candle.uucp@bts.com | Drexel Hill, Pennsylvania 19026
- | (215) 353-9879(w) 853-3000(h)
-