🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7179

Re: setting the mouse pointers position

#7179
From: Peter Cherna
Date: Mon, 03 Dec 1990 20:33
21 lines
1431 bytes
In article <90337.181519GUTEST8@cc1.kuleuven.ac.be> GUTEST8@cc1.kuleuven.ac.be writes:
>Is there any way to set the mouse coordinates in a proper way ?
>I'm trying to write a record/replay-ish program and need to
>reset the mouse coordinates when starting up.

You can send a POINTERPOS input event.  It allows you to specify
mouse coordinates in 640 x 400 (640 x 512 PAL).  This is the
same as IBase->MouseX/Y.

2.0 has a NEWPOINTERPOS event which can accept a screen pointer,
allowing you to give mouse coordinates in screen resolution units.

>Ives Aerts: GUTEST8@BLEKUL11.BITNET  Multitasking: a MUST (not only
>            GHGAEAB@BLEKUL11.BITNET   for schyzophrenics...)

     Peter
--
     Peter Cherna, Software Engineer, Commodore-Amiga, Inc.
     {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
My opinions do not necessarily represent the opinions of my employer.
I have found a proof for Fermat's theorem, but there is no room in the .sig!
Technical Details
Message-ID: <16265@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!peter
References: <90337.181519GUTEST8@cc1.kuleuven.ac.be>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!peter
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.tech
Subject: Re: setting the mouse pointers position
Message-ID: <16265@cbmvax.commodore.com>
Date: 3 Dec 90 20:33:55 GMT
References: <90337.181519GUTEST8@cc1.kuleuven.ac.be>
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore, West Chester, PA
Lines: 21