setGlobalMousePosition

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

@safe @trusted
static if(sdlSupport >= SDLSupport.v2_0_4)
void
setGlobalMousePosition
()

Parameters

newPosition int[2]

new coordinate of the mouse in the display

Meta