DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_WarpMouse.3.en
SDL_WarpMouse(3) SDL API Reference SDL_WarpMouse(3)

SDL_WarpMouse - Set the position of the mouse cursor.

#include "SDL.h"

void SDL_WarpMouse(Uint16 x, Uint16 y);

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

SDL_MouseMotionEvent

Tue 11 Sep 2001, 23:01 SDL