Companion

Holds the mouse buttons.

Properties

Link copied to clipboard
const val COUNT: Int = 5

The number of mouse buttons; every button EventPump reports has an index below it.

Link copied to clipboard

The primary button, usually the left one.

Link copied to clipboard

The middle button, often a press on the wheel.

Link copied to clipboard

The secondary button, usually the right one.

Link copied to clipboard

The first extra button, often "back" on the side of the mouse.

Link copied to clipboard

The second extra button, often "forward" on the side of the mouse.