Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | Description |
---|
Service_MouseTrap
(Service Call &52)
The Wimp has detected a significant mouse movement
Entry | Description |
---|---|
R0 | Mouse x co-ordinate |
R1 | Reason Code &52 |
R2 | Button state (from OS_Mouse) |
R3 | Time of mouse event (from OS_ReadMonotonicTime) |
R4 | Mouse y co-ordinate |
Exit | Description |
---|---|
- | All registers preserved |
This service call is broadcast used to inform applications that it has detected mouse movement. This is often used by applications that wish to record mouse movements and it state of the mouse buttons so they can be played back. This can be very useful to produce applications that simulate human interaction. e.g. Demonstration software.
Applications that record the mouse positions and states, should also monitor INKEY? values as well. Both positive and negative.