Article View: comp.sys.amiga.tech
Article #2739Pointer Position via AmigaDOS i/o
From: Thomas M. Breeden
Date: Mon, 15 Jan 1990 02:03
Date: Mon, 15 Jan 1990 02:03
23 lines
1524 bytes
1524 bytes
I am trying to use AmigaDOS I/O (as described in the Appendix, "Console
Input and Output on the Amiga" of the AmigaDOS manual) to mouse select
button presses and the pointer position at button press.
Writing the SRE, Set Raw Events, Amiga specific CSI sequence for request
2, RAW mouse input, and 4, Pointer position, looks like it should do it.
I do get back the mouse button down and up response sequences, but the
<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.
Is there something more I need to do to get the <x>,<y> positions to
be the window position of the pointer, or is this part of the
implementation that did not make it off the paper?
Thanks for any help.
Tom Breeden
tmb@Virginia.EDU -> Internet
tmb@Virginia -> Bitnet
Technical Details
Message-ID:
<1990Jan15.020351.18563@murdoch.acc.Virginia.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!mcnc!uvaarpa!murdoch!davinci.acc.Virginia.EDU!tmbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!mcnc!uvaarpa!murdoch!davinci.acc.Virginia.EDU!tmb From: tmb@davinci.acc.Virginia.EDU (Thomas M. Breeden) Newsgroups: comp.sys.amiga.tech Subject: Pointer Position via AmigaDOS i/o Message-ID: <1990Jan15.020351.18563@murdoch.acc.Virginia.EDU> Date: 15 Jan 90 02:03:51 GMT Sender: news@murdoch.acc.Virginia.EDU Reply-To: tmb@davinci.acc.Virginia.EDU (Thomas M. Breeden) Organization: University of Virginia Lines: 23 Ireallyam: tmb