Skip to content

MouseButton

object MouseButton

GLFW mouse button numbers, plus the value events that no button produced carry.

Properties

LEFT

const val LEFT: Int = 0

The primary button.

MIDDLE

const val MIDDLE: Int = 2

The wheel button.

NONE

const val NONE: Int

No button - what a hover, move or scroll event reports.

const val RIGHT: Int = 1

The secondary button.