Article View: net.micro.atari16
Article #2082Re: A few questions
From: Steve Tynor
Date: Tue, 30 Sep 1986 13:16
Date: Tue, 30 Sep 1986 13:16
38 lines
2277 bytes
2277 bytes
In article <301@uwmacc.UUCP> demillo@uwmacc.UUCP (Rob DeMillo) writes:
>In article <2285@gitpyr.UUCP> tynor@gitpyr.UUCP (Steve Tynor) writes:
>>>>standard altogether) uses the right mouse button. The documentation doesn't
>>>>talk about it. In fact, I don't think GEM supports it. Good thing it's
>>>>there, huh?
>>
>>The fact is that the AES event library calls do *not* allow you to wait for
>>a right mouse button event. In order to use the right mouse button, you
>>must poll the mouse. Methinks the gentleman has a valid gripe.
>>
>Methinks you ought to RTFM...
>
> ev_breturn = evnt_button(ev_bclicks, ev_bmask,
> ev_bstate, &ev_bmx, &ev_bmy,
> &ev_button, &ev_bkstate);
>
> where ev_bmask: the mouse buttons to be taken into account
> when reading the mouse:
> 01 = left button
> 02 = right button
> 03 = both buttons
My manual doesn't say anything about 03 = both buttons, but I have tried 02
for the right button with no success. I admit that I've been using
evnt_multi, not evnt_button. Could this be why it's never worked for me?
If so, I maintain that the gripe is valid. Most programs are going to have
to wait for keystrokes and menu events as well as button events... If I'm
wrong, I withdraw my remark... (BTW: what does the F stand for in RTFM?)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If the facts do not conform to the theory, they must be disposed of.
Steve Tynor
Georgia Instutute of Technology
...{akgua, allegra, amd, harpo, hplabs,
ihnp4, masscomp, ut-ngp, rlgvax, sb1,
uf-cgrl, unmvax, ut-sally} !gatech!gitpyr!tynor
Technical Details
Message-ID:
<2304@gitpyr.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!gatech!gitpyr!tynorReferences:
<233@husc6.HARVARD.EDU> <280@uwmacc.UUCP> <2285@gitpyr.UUCP> <301@uwmacc.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!gatech!gitpyr!tynor From: tynor@gitpyr.UUCP (Steve Tynor) Newsgroups: net.micro.atari16 Subject: Re: A few questions Message-ID: <2304@gitpyr.UUCP> Date: Tue, 30-Sep-86 09:16:22 EDT Article-I.D.: gitpyr.2304 Posted: Tue Sep 30 09:16:22 1986 Date-Received: Thu, 2-Oct-86 20:56:20 EDT References: <233@husc6.HARVARD.EDU> <280@uwmacc.UUCP> <2285@gitpyr.UUCP> <301@uwmacc.UUCP> Reply-To: tynor@gitpyr.UUCP (Steve Tynor) Distribution: na Organization: Georgia Institute of Technology Lines: 38