Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 9 (reason code) |
R1 | Scroll wheel Y axis delta |
Negative = “Up” / away from user | |
R2 | State of additional buttons (starting with mouse button 4 in bit 0) |
R3 | Scroll wheel X axis delta |
Positive = Right |
Exit | |
---|---|
- | All registers preserved |
This vector should be called by the current pointer driver to notify third-party software such as the WimpScroll module of any scroll wheel or additional button state changes.
R2 should contain the state of any additional buttons, i.e. beyond the 3 basic buttons (which should have their state reported via KeyV)
Under RISC OS 5, the current behaviour of USBDriver is to only make this service call if the pointer is not over a Wimp window which accepts scroll requests. If the pointer is over a window which accepts scroll requests, a scroll request Wimp message will be sent instead.