Function sdl2_sys::SDL_HapticClose

source ·
pub unsafe extern "C" fn SDL_HapticClose(haptic: *mut SDL_Haptic)
Expand description

Close a haptic device previously opened with SDL_HapticOpen().

\param haptic the SDL_Haptic device to close

\since This function is available since SDL 2.0.0.

\sa SDL_HapticOpen