Function sdl2_sys::SDL_HapticOpened
source · [−]Expand description
\brief Checks if the haptic device at index has been opened.
\param device_index Index to check to see if it has been opened. \return 1 if it has been opened or 0 if it hasn’t.
\sa SDL_HapticOpen \sa SDL_HapticIndex