SDL_WarpMouse

SDL Library

SDL Library Documentation
Prev Next

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).


Prev Home Next
SDL_DisplayFormatAlpha Up SDL_CreateCursor