Check if the haptic device at the designated index has been opened.
int SDL_HapticOpened(int device_index);
|device_index||the index of the device to query|
Returns 1 if it has been opened, 0 if it hasn't or on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.