The mouse button.
Whether the button was pressed.
The movement of the mouse position. Useful e.g. for pointer-locked apps like games.
The movement on the x-axis. Expressed in terms of lighthouse columns, but may be negative.
The movement on the y-axis. Expressed in terms of lighthouse rows, but may be negative.
Whether the mouse pointer was locked (e.g. to the frontend's canvas).
The position.
The x-coordinate in terms of lighthouse columns, i.e. in the range 0-28.
The y-coordinate in terms of lighthouse rows, i.e. in the range 0-14.
The identifier, unique per client + device combo.
The event type.
Generated using TypeDoc
A mouse event payload.