Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_WarpMouse(3) SDL API Reference SDL_WarpMouse(3)

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
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org