Function sdl2_sys::SDL_HapticOpened

source ·
pub unsafe extern "C" fn SDL_HapticOpened(
    device_index: c_int
) -> c_int
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