Method SDL.warp_mouse()
- Method warp_mouse
void warp_mouse(int xpos, int ypos)
- Description
Sets the position of the mouse cursor to the given coordinates. This generates an SDL.MOUSEMOTION event.
- Parameter xpos
Requested position of the mouse cursor along the x-axis.
- Parameter ypos
Requested position of the mouse cursor along the y-axis.