Malcolm Lear writes:

> Thanks for all the info Per, this is exactly what I was after. Do
you
> know why d1.l is
> labeled x,y pointer coordinates on both input and output?

As input it is used to compare with the current pointer position to
determine whether the pointer has moved. As output it contains the
current pointer position. I believe you can also use it to get an idea
of how fast the pointer is moving. Just save a copy of the input
coordinates, call iop.rptr with bit 3 set in the termination vector,
and subtract the x or y portion from the resultant d1.

Please correct me if anyone knows better, or you get different
behaviour.


Reply via email to