From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Mouse in Allegro Date: Thu, 18 Sep 1997 18:07:28 -0400 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 14 Message-ID: <3421A620.11BC@cam.org> References: <5vs2on$9p7$1 AT news DOT interlog DOT com> NNTP-Posting-Host: dynppp-79.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Gautam N. Lad wrote: > > Hi, > Is there any way to detect if the mouse has moved from it's previous location? > I know such a function exists in GRX, and wondering if Allegro has, or will have > such a feature. > I just don't want to write some routine to check if it has moved. well, I don't know and I don't think so but you can make an easy one ... just, like each frame, save the mouse position. then see if the current position is different than the saved one. -- --> http://www.cam.org/~tudor <-- Go ahead and build another Messiah We dig another grave...