enum

MouseButton

Inherits Enum / Comparable / Value / Object

Constants

BUTTON_1 = 0
BUTTON_2 = 1
BUTTON_3 = 2
BUTTON_4 = 3
BUTTON_5 = 4
BUTTON_6 = 5
BUTTON_7 = 6
BUTTON_8 = 7
LAST = 7
LEFT = 0
RIGHT = 1
MIDDLE = 2

Instance methods

button_1?

Returns true if this enum value equals BUTTON_1

Source
button_2?

Returns true if this enum value equals BUTTON_2

Source
button_3?

Returns true if this enum value equals BUTTON_3

Source
button_4?

Returns true if this enum value equals BUTTON_4

Source
button_5?

Returns true if this enum value equals BUTTON_5

Source
button_6?

Returns true if this enum value equals BUTTON_6

Source
button_7?

Returns true if this enum value equals BUTTON_7

Source
button_8?

Returns true if this enum value equals BUTTON_8

Source
last?

Returns true if this enum value equals LAST

Source
left?

Returns true if this enum value equals LEFT

Source
middle?

Returns true if this enum value equals MIDDLE

Source
right?

Returns true if this enum value equals RIGHT

Source