🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2756

Re: Pointer Position via AmigaDOS i/o

#2756
From: Robert R. Burns
Date: Mon, 15 Jan 1990 20:46
23 lines
1449 bytes
In article ... (Thomas M. Breeden) writes:
)Writing the SRE, Set Raw Events, Amiga specific CSI sequence for request
)2, RAW mouse input, and 4, Pointer position ...
)
)<x>,<y> values are almost always "0;0;". Clicking and moving as fast as
)possible will sometimes result in a small positive or negative <x> or <y>
)value, as if it were relative to the position 0.1 sec before.

The RAWMOUSE events that you're getting here are from the gameport device,
the movement-only events are filtered by intuition, but the button events may
still contain some recent relative [see the MSB of the ie_Qualifier] mouse
movement.

)Is there something more I need to do to get the <x>,<y> positions ...

You need to look in the window->MouseX and window->MouseY.

- Kodiak
-- 
Bob Burns, amiga!kodiak						 _
	| /_  _|. _ |		   Commodore __			|_) _ |_  _ )'
	|<(_)(_)|(_\|<		    /\ |  ||| _` /\		|_)(_\| )(_\ |
	| \ Software		___/..\|\/|||__|/..\___			 Faith
Technical Details
Message-ID: <5122@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!brutus.cs.uiuc.edu!apple!oliveb!amiga!kodiak
References: <1990Jan15.020351.18563@murdoch.acc.Virginia.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!brutus.cs.uiuc.edu!apple!oliveb!amiga!kodiak
From: kodiak@amiga.UUCP (Robert R. Burns)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Pointer Position via AmigaDOS i/o
Message-ID: <5122@amiga.UUCP>
Date: 15 Jan 90 20:46:35 GMT
References: <1990Jan15.020351.18563@murdoch.acc.Virginia.EDU>
Reply-To: kodiak@batgirl.UUCP (Robert R. Burns)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 23