Additional info was sent to me by Duncan Neithercut some time ago, for
use in a screen saver system for Launchpad, which admittedly I never
finished because I got myself bogged down with what I considered more
important Launchpad components:

The pointer record is attached to the channel #0 driver, which can be
found by:

chbas=PEEK_L(svbas+120)   : rem svbas is system variables base
channel0driver=PEEK_L(PEEK_L(chbas)+4)
and if
addr=channel0driver
then
pointermove=PEEK_L(addr+126):REM read x and y positions
ptrkey=PEEK(addr+49)+PEEK(addr+50):rem read any mouse key pressed

Seems to work on all platforms tested, including with SMSQ/E, from JS
QL to Aurora and Q40 according to Duncan.

Wolfgang and Marcel sent me some info on what's in the PE linkage
block. I no longer have the email, but do have a printout which I
could scan and send to you if of interest and not in one of the
archived files Marcel's kindly pointed us to.
Dilwyn Jones
----- Original Message -----
From: Marcel Kilgus <[EMAIL PROTECTED]>
To: ql-users <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 3:59 PM
Subject: Re: [ql-users] Mouse


>
> Phoebus Dokos wrote:
> > I've asked about this awhile ago but lost the reply.
> >
> > Is there any memory position that can be read to show the mouse
movement.
> > button actions etc.? Furthermore is that position standard or does
it change from
> > platform to platform?
>
> http://www.mail-archive.com/ql-users@;nvg.ntnu.no/msg03652.html
> http://www.mail-archive.com/ql-users@;nvg.ntnu.no/msg02922.html
> http://www.mail-archive.com/ql-users@;nvg.ntnu.no/msg02918.html
>
> and related/following.
>
> Marcel
>
>

Reply via email to