module SDL2::Mouse::BUTTONMASK
Constants
- LEFT
- MIDDLE
- RIGHT
- X1
- X2
Public Class Methods
for_enum(button_enum)
click to toggle source
# File lib/sdl2/mouse.rb, line 52 def self.for_enum button_enum 1 << (button_enum-1) end