Function SDL_OpenHapticFromMouse
pub unsafe extern "C" fn SDL_OpenHapticFromMouse() -> *mut SDL_Haptic
Available on crate feature
dep_sdl3
only.Expand description
Try to open a haptic device from the current mouse.
§Return value
Returns the haptic device identifier or NULL on failure; call
SDL_GetError()
for more information.
§Availability
This function is available since SDL 3.2.0.