[−][src]Function sdl2_sys::SDL_HapticIndex
pub unsafe extern "C" fn SDL_HapticIndex(haptic: *mut SDL_Haptic) -> c_int
\brief Gets the index of a haptic device.
\param haptic Haptic device to get the index of. \return The index of the haptic device or -1 on error.
\sa SDL_HapticOpen \sa SDL_HapticOpened