Article View: comp.os.msdos.programmer
Article #4488Re: Reading a serial mouse
From: Dave McQuate
Date: Fri, 01 Feb 1991 17:54
Date: Fri, 01 Feb 1991 17:54
6 lines
804 bytes
804 bytes
The mouse I have simply sends characters at 1200 baud; there's a "packet"- like structure with a specific indicator for the "first" byte. One byte contains a bit to indicate the status of each of the mouse buttons. Other bytes indicate the number of "ticks" the mouse has moved (x & y) since the last packet. If you'd like more info, or even a bit of Turbo-C code, send me email. I'll fetch stuff from home.
Technical Details
Message-ID:
<15770001@hpmwdjm.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpl-opus!hpnmdla!hpmwtd!davemReferences:
<298@gcc.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpl-opus!hpnmdla!hpmwtd!davem From: davem@hpmwtd.HP.COM (Dave McQuate) Newsgroups: comp.os.msdos.programmer Subject: Re: Reading a serial mouse Message-ID: <15770001@hpmwdjm.HP.COM> Date: 1 Feb 91 17:54:55 GMT References: <298@gcc.uucp> Organization: HP Microwave Tech. - Santa Rosa, Ca. Lines: 6