Function sdl2_sys::SDL_WarpMouseGlobal
source ยท pub unsafe extern "C" fn SDL_WarpMouseGlobal(
x: c_int,
y: c_int,
) -> c_int
Expand description
\brief Moves the mouse to the given position in global screen space.
\param x The x coordinate \param y The y coordinate \return 0 on success, -1 on error (usually: unsupported by a platform).
\note This function generates a mouse motion event