SDL_WarpMouse(3)

Set the position of the mouse cursor.

Section 3 libsdl1.2-dev bookworm source

Description

SDL_WarpMouse

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