[][src]Function sdl2_sys::SDL_WarpMouseInWindow

pub unsafe extern "C" fn SDL_WarpMouseInWindow(
    window: *mut SDL_Window,
    x: c_int,
    y: c_int
)

\brief Moves the mouse to the given position within the window.

\param window The window to move the mouse into, or NULL for the current mouse focus \param x The x coordinate within the window \param y The y coordinate within the window

\note This function generates a mouse motion event