Function getMouseState

Wraps SDL_GetMouseState which gets the states of the mouse buttons

MouseState getMouseState() @trusted;

Returns

dsdl2.MouseState specifying the pressed-states of the mouse buttons