Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!pyramid!cbmvax!bj From: bj@cbmvax.commodore.com (Brian Jackson) Newsgroups: comp.sys.amiga.tech Subject: Re: Mouse Buttons Message-ID: <16383@cbmvax.commodore.com> Date: 8 Dec 90 12:11:29 GMT References: <1990Dec7.041658.14294@techbook.com> <1990Dec7.223736.15332@engin.umich.edu> Reply-To: bj@cbmvax.commodore.com (Brian Jackson) Organization: Commodore, West Chester, PA Lines: 23 In article <1990Dec7.223736.15332@engin.umich.edu> milamber@caen.engin.umich.edu (Daryl Scott Cantrell) writes: >In article faheyr@silver.ucs.indiana.edu (Bob Fahey ) writes: > > To the query about 3rd mouse button (sorry, zapped it..): > > Hmm, the only real way to do it is by looking at hardware registers. >The GOOD way to program this is to write a device driver which takes >this into account. For the BAD way, modify your own code from above.. Actually, the middle mouse button is readable under DOS 1.3. The message is properly sent from the input device but Intuition screens it out before it gets to the user. A properly written input handler can get at it. Example code and executables exist (they do on GEnie, I know.) bj >| // Daryl S. Cantrell | These opinions are | ----------------------------------------------------------------------- | Brian Jackson Software Engineer, Commodore-Amiga Inc. GEnie: B.J. | | bj@cbmvax.cbm.commodore.com or ...{uunet|rutgers}!cbmvax!bj | -----------------------------------------------------------------------