You copied the Doc URL to your clipboard.

MouseStatus protocol

This protocol passes mouse movement and button events to another component such as the PS2Mouse component.

Events are only sent when the visualization window is in focus.

The protocol behaviors are:

mouseMove(int dx, int dy) : void
This is sent when the host mouse is moved. Mouse movement events are always relative.
mouseButton(uint8_t button, bool down) : void

This is sent when a button on the host mouse is pressed or released.

button indicates which button has been pressed or released and is typically 0, 1, or 2 but can be anything up to 7 depending on the OS and attached mouse.

down is true if a button is pressed and false if released.