DRAFT |
SDL_WarpMouseGlobal
Use this function to move the mouse to the given position in global screen space.
Contents
Syntax
void SDL_WarpMouseGlobal(int x,
int y)
Function Parameters
x |
the x coordinate |
y |
the y coordinate |
Code Examples
You can add your code example here
Remarks
This function generates a mouse motion event.
Version
This function is available since SDL 2.0.4.