home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / hardware / 20004 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.6 KB

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