SDL_WarpMouse man page

SDL_WarpMouse — Set the position of the mouse cursor.

Synopsis

#include "SDL.h"

void SDL_WarpMouse(Uint16 x, Uint16 y);

Description

Set the position of the mouse cursor (generates a mouse motion event).

See Also

SDL_MouseMotionEvent

Info

Tue 11 Sep 2001, 23:01 SDL SDL API Reference