Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!uc!cs.umn.edu!cattelan From: cattelan@cs.umn.edu (Russell Cattelan) Newsgroups: comp.sys.amiga.tech Subject: Finding current mouse status. Summary: Need to find current mouse positions without waiting for events. Keywords: Mouse Message-ID: <1990Sep18.192348.3594@cs.umn.edu> Date: 18 Sep 90 19:23:48 GMT Distribution: comp Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 19 I am tring to port the programs the was orginally written for and IBM The program is not interupt driven, so when it wants to find out what the mouse status is it just looks at it and updateds a global structure. I have been trying to do the same thing on the the amiga but all I seem to come up with is events. Both by intuition and by opening the gameport I have to deal with events. The one thing I did come up with was locking intuition and the looking at the x an y val of the mouse, that works but the condition of the buttons is not stored in the intuition structer?(or I missed it). any suggestions most welcome. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <> :-{ :-\<> Russell Cattelan University of Minnesota <> <> :-} :-`) <> cattelan@umn-cs.cs.umn.edu <> <> :-) :-( <> {...!rutgers!umn-cs!cattelan} <> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>