MouseState.this

Constructs a dsdl2.MouseState by providing the flags

  1. this()
  2. this(uint sdlMouseState)
  3. this(uint base, bool left, bool middle, bool right, bool x1, bool x2)
    struct MouseState
    this
    (
    uint base
    ,
    bool left = false
    ,
    bool middle = false
    ,
    bool right = false
    ,
    bool x1 = false
    ,
    bool x2 = false
    )

Parameters

base uint

base flag to assign (0 for none)

left bool

whether the left mouse button is pressed

middle bool

whether the middle mouse button is pressed

right bool

whether the right mouse button is pressed

x1 bool

whether the X1 mouse button is pressed

x2 bool

whether the X2 mouse button is pressed

Meta