[][src]Function sdl2_sys::SDL_HapticOpenFromMouse

pub unsafe extern "C" fn SDL_HapticOpenFromMouse() -> *mut SDL_Haptic

\brief Tries to open a haptic device from the current mouse.

\return The haptic device identifier or NULL on error.

\sa SDL_MouseIsHaptic \sa SDL_HapticOpen