← Standard library

MouseButton

enum MouseButton extends uint8
import MouseButton from Wax;

Mouse button identifiers. None is the absence of a button; X1 and X2 are the two auxiliary buttons.

InputEvent.wax:121

Members

Nonecase

case None = 0

InputEvent.wax:122

Leftcase

case Left = 1

InputEvent.wax:123

Rightcase

case Right = 2

InputEvent.wax:124

Middlecase

case Middle = 3

InputEvent.wax:125

X1case

case X1 = 4

InputEvent.wax:126

X2case

case X2 = 5

InputEvent.wax:127

CompareTomethod

public fn CompareTo(MouseButton other) : int32

Provided by the compiler.

Equalsmethod

public fn Equals(MouseButton other) : bool

Provided by the compiler.

GetHashCodemethod

public fn GetHashCode() : uint32

Provided by the compiler.

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.