Thanks Marcel.

Marcel Kilgus wrote:

> Malcolm Lear wrote: 
> 
>> Has anyone got any info on the low level mouse interface in the PE.
>> I assume it must be a documented Trap which returns both absolute
>> pointer position and the relative position since the last call.
> 
> 
> Of course there's a trap applications can use which determines the
> mouse position (IOP.RPTR I think), the relative movement however
> you've to calculate yourself: There are 3 vectors stored internally:
> current mouse position, positional increment and new mouse position.
> Most mouse drivers (and even QPC2 before v2) altered the positional
> increment value, then a poll routine calculated the new mouse position
> according to the acceleration etc. With v2 this changed, the mouse
> movement calculation including acceleration is done by windows and QPC
> just sets the new position.
> 
>> I also need to determine the mouse button status. Any help would be
>> greatly appreciated. I seem to remember that the info was available
>> on the QXL using KEYROW(24?).
> 
> 
> I'm not completely sure about this one, perhaps somebody with a better
> knowledge of the PE than I have can answer that. As a last resort
> however there's always the data in the PE linkage block I posted
> yesterday.
> 
> Marcel
> 
> 
> 

Reply via email to