Function getRelativeMousePosition

Wraps SDL_GetRelativeMouseState which gets the relative mouse position

int[2] getRelativeMousePosition() @trusted;

Returns

relative coordinate of the mouse