Function fermium::mouse::SDL_GetRelativeMouseState
source · pub unsafe extern "C" fn SDL_GetRelativeMouseState(
x: *mut c_int,
y: *mut c_int
) -> u32
Expand description
Retrieve the relative state of the mouse.
The current button state is returned as a button bitmask, which can be
tested using the SDL_BUTTON(X) macros, and x and y are set to the mouse
deltas since the last call to SDL_GetRelativeMouseState
.