🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari16
Article #2021

Re: A few questions

#2021
From: Rob DeMillo
Date: Sat, 27 Sep 1986 01:43
49 lines
2639 bytes
In article <2285@gitpyr.UUCP> tynor@gitpyr.UUCP (Steve Tynor) writes:
>>>- Nothing I've seen except NeoChrome (which throws away the user interface
>>>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?
>>
>>   Is this a serious comment?  I'll assume so and treat it as such.
>>   First off, there *is* a use for it that you can demonstrate for yourself,
>>in the privacy of your own home.  First, open two windows.  Now, hold down
>>the right mouse button.  OK, double-click (left) on a file in the *non*-active
>>window.  Whaddya know!  A use for the right mouse button!  Even ignoring
>>that small but useful use, do you think there's a possibility that A) people
>>may want to use it in their own applications, and B) there just may be some
>>things in life that you haven't yet encountered? 
>
>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.
>
>    Steve Tynor

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

I've tried it, it works...I think you should consider point (B) from
the second poster...


-- 
                           --- Rob DeMillo 
                               Madison Academic Computer Center

	usenet: {ihnp4,harvard,seismo,topaz,decvax}!uwvax!uwmacc!demillo
	ARPA:   demillo@unix.macc.wisc.edu    (now isn't that easier?)

		----------------------------------------
	"I am not so sure
	 what you want me for!			'War Games'
	 Either your machine is a 		   - Crosby, Stills and Nash
	 fool, or me..."
Technical Details
Message-ID: <301@uwmacc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!lll-crg!seismo!uwvax!uwmacc!demillo
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!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!lll-crg!seismo!uwvax!uwmacc!demillo
From: demillo@uwmacc.UUCP (Rob DeMillo)
Newsgroups: net.micro.atari16
Subject: Re: A few questions
Message-ID: <301@uwmacc.UUCP>
Date: Fri, 26-Sep-86 21:43:26 EDT
Article-I.D.: uwmacc.301
Posted: Fri Sep 26 21:43:26 1986
Date-Received: Tue, 30-Sep-86 05:58:18 EDT
References: <233@husc6.HARVARD.EDU> <280@uwmacc.UUCP> <2285@gitpyr.UUCP>
Reply-To: demillo@uwmacc.UUCP (Rob DeMillo)
Distribution: na
Organization: UWisconsin-Madison Academic Comp Center
Lines: 49