Function sdl2_sys::SDL_HapticOpenFromMouse
source ยท pub unsafe extern "C" fn SDL_HapticOpenFromMouse() -> *mut SDL_Haptic
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