Use this function to check if the haptic device at the designated index has been opened.
int SDL_HapticOpened(int device_index)
the index to check to see if it has been opened
Returns 1 if it has been opened, 0 if it hasn't or on failure; call SDL_GetError() for more information.
You can add your code example here
You can add useful comments here
This function is available since SDL 2.0.0.