SDL_WarpMouse

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
 

NAME

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