🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari16
Article #2093

Right mouse button (was Re: a few questions)

#2093
From: Allan Pratt
Date: Tue, 30 Sep 1986 17:13
21 lines
1678 bytes
The fact is, the you can wait for the right mouse button just as well as
the left.  What you can't do is wait for "EITHER the right OR the left
button."  If you study the semantics of the evnt_button call, you will see
why.

What you CAN do is substitute your own button handler, using the well-defined
GEM interface (rather than mucking with hardware interrupts).  See the
VDI call "Exchange button change vector" and Appendix E, "Processor-Specific
Data."

Once you get the hang of that, your control of the mouse buttons can get
as fine as you like!  Imagine: long-click vs. short-click,  Left followed
by right as different from right followed by left...  The possibilities
are endless! :-)

/----------------------------------------------\
| Opinions expressed above do not necessarily  |  -- Allan Pratt, Atari Corp.
| reflect those of Atari Corp. or anyone else. |     ...lll-lcc!atari!apratt
\----------------------------------------------/

"A man hears what he wants to hear, and disregards the rest."
Technical Details
Message-ID: <431@atari.UUcp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!styx!twg-ap!amdahl!pyramid!decwrl!sun!imagen!atari!apratt
References: <233@husc6.HARVARD.EDU> <280@uwmacc.UUCP> <2285@gitpyr.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!styx!twg-ap!amdahl!pyramid!decwrl!sun!imagen!atari!apratt
From: apratt@atari.UUcp (Allan Pratt)
Newsgroups: net.micro.atari16
Subject: Right mouse button (was Re: a few questions)
Message-ID: <431@atari.UUcp>
Date: Tue, 30-Sep-86 13:13:24 EDT
Article-I.D.: atari.431
Posted: Tue Sep 30 13:13:24 1986
Date-Received: Fri, 3-Oct-86 00:48:26 EDT
References: <233@husc6.HARVARD.EDU> <280@uwmacc.UUCP> <2285@gitpyr.UUCP>
Distribution: na
Organization: Atari Corp., Sunnyvale CA
Lines: 21
Summary: right button is just as good as the left