Try to open a haptic device from the current mouse.
Defined in <SDL3/SDL_haptic.h>
void); SDL_Haptic * SDL_OpenHapticFromMouse(
(SDL_Haptic *) Returns the haptic device identifier or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.