Function sdl2_sys::SDL_HapticIndex
source ยท pub unsafe extern "C" fn SDL_HapticIndex(
haptic: *mut SDL_Haptic,
) -> c_int
Expand description
\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