Function setGlobalMousePosition

Wraps SDL_WarpMouseGlobal (from SDL 2.0.4) which sets the mouse position globally in the display

void setGlobalMousePosition (
  int[2] newPosition
) @trusted;

Parameters

NameDescription
newPosition new coordinate of the mouse in the display