enum

SDL3::MouseState

Inherits Enum < Comparable < Value < Object

Constants

Left = 1
Middle = 2
Right = 4
X1 = 8
X2 = 16
None = 0
All = 31

Instance methods

left?

Returns true if this enum value contains Left

Source
middle?

Returns true if this enum value contains Middle

Source
none?
Source
right?

Returns true if this enum value contains Right

Source
x1?

Returns true if this enum value contains X1

Source
x2?

Returns true if this enum value contains X2

Source