Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!DMSWWU1A.BITNET!ONM07 From: ONM07@DMSWWU1A.BITNET ("Julian F. Reschke") Newsgroups: comp.sys.atari.st Subject: Re: resetting the mouse position Message-ID: <8906141104.AA17773@ucbvax.Berkeley.EDU> Date: 14 Jun 89 11:04:21 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 18 X-Unparsable-Date: Wed, 14 Jun 89 13:01:54 MES Bill Rosenkranz writes: >there is an illegal way of doing this, but (to keep allan happy :~) (and me...) >the solution MUST be legal. the program "mousdoub" does it (i think) >illegally (at least it uses the pointer-to-bios-function-tables-returned- >in-a0-on-illegal-biosfunction trick... There is a very easy way to set the mouse position (check your favorite AES manual...): int mrec[4]; mrec[0] = 0; mrec[1] = 2; /* Mouse-event */ mrec[2] = 100; mrec[3] = 10; /* x and y */ appl_tplay(mrec,1,1000);