Function SDL_HapticOpenFromMouse

pub unsafe extern "C" fn SDL_HapticOpenFromMouse() -> *mut _SDL_Haptic
Available on crate feature dep_sdl2 only.
Expand description

Try to open a haptic device from the current mouse.

\returns the haptic device identifier or NULL on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_HapticOpen \sa SDL_MouseIsHaptic