Function getGlobalMouseState

Wraps SDL_GetGlobalMouseState (from SDL 2.0.4) which gets the global states of the mouse buttons

MouseState getGlobalMouseState() @trusted;

Returns

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