[][src]Function fermium::mouse::SDL_WarpMouseInWindow

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

Moves the mouse to the given position within the window.

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

Note: This function generates a mouse motion event