Method SDL.warp_mouse()
- Method
warp_mouse
voidwarp_mouse(intxpos,intypos)- 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.