Function sdl2_sys::SDL_WarpMouseGlobal
source · [−]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