Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!orion.oac.uci.edu!cedman From: cedman@golem.ps.uci.edu (Carl Edman) Newsgroups: comp.sys.amiga.tech Subject: Re: Mouse Buttons Message-ID: Date: 10 Dec 90 05:20:07 GMT References: <1990Dec7.041658.14294@techbook.com> <1990Dec7.223736.15332@engin.umich.edu> Organization: University of California, Irvine, USA. Lines: 38 Nntp-Posting-Host: lynx.ps.uci.edu In-reply-to: caw@miroc.Chi.IL.US's message of 9 Dec 90 11:00:00 GMT In article caw@miroc.Chi.IL.US (Christopher A. Wichura) writes: In article <1990Dec7.223736.15332@engin.umich.edu> milamber@caen.engin.umich.edu (Daryl Scott Cantrell) 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.. Can anyone say whether support for the 3rd mouse button was added in KickStart 2? I'd bve nice if Intuition returned events for it just as it does the other two... -=> CAW Yes, I have a three button mouse... So do I. There are a few things which help. First: There is Middlebutton. It is a nice little event-handler which works fine together with all those other little event handlers. It merely adds a qualifier to all other events which happen while the middle mouse button is depressed. You can use this to great advantage e.g. together with dmouse. My dmouse is configured to flip screens when the right mouse button is depressed together with the middle mouse button. Quite useful, especially with those multiple wb screens. Second: Judging from the ScreenX 3.0 documentation, which claims that it will do certain things when the middle mouse button is depressed under 2.0, 2.0 seems to support the middle mouse button. The most amazing thing is that although I don't run 2.0, screenx corresponds correctly. Maybe MiddleButton emulates the correct 2.0 behavior ? Carl Edman Theorectical Physicist,N.:A physicist whose | Send mail existence is postulated, to make the numbers | to balance but who is never actually observed | cedman@golem.ps.uci.edu in the laboratory. | edmanc@uciph0.ps.uci.edu