Path: 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 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 , values are almost always "0;0;". Clicking and moving as fast as possible will sometimes result in a small positive or negative or value, as if it were relative to the position 0.1 sec before. Is there something more I need to do to get the , 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