Try to open a haptic device from the current mouse.
SDL_Haptic* SDL_OpenHapticFromMouse(void);
Returns the haptic device identifier or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.
CategoryAPI