Check if the haptic device at the designated index has been opened.
Defined in SDL_haptic.h
int SDL_HapticOpened(int device_index);
int | device_index | the index of the device to query. |
(int) 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.