Function getRelativeMouseState

Wraps SDL_GetRelativeMouseState which gets the relative states of the mouse buttons

MouseState getRelativeMouseState() @trusted;

Returns

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