Tao.Sdl SDK Documentation

Sdl.SDL_WarpMouse Method 

Set the position of the mouse cursor.

[Visual Basic]
Public Shared Sub SDL_WarpMouse( _
   ByVal x As Short, _
   ByVal y As Short _
)
[C#]
public static void SDL_WarpMouse(
   short x,
   short y
);

Parameters

x
y

Remarks

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

Binds to C-function call in SDL_mouse.h:

            void SDL_WarpMouse(Uint16 x, Uint16 y);
            

See Also

Sdl Class | Tao.Sdl Namespace | Sdl.SDL_MouseMotionEvent