DOKK / manpages / debian 13 / libsdl3-doc / SDL_IsMouseHaptic.3.en
SDL_IsMouseHaptic(3) SDL3 FUNCTIONS SDL_IsMouseHaptic(3)

SDL_IsMouseHaptic - Query whether or not the current mouse has haptic capabilities.

Defined in SDL3/SDL_haptic.h

#include "SDL3/SDL.h"
bool SDL_IsMouseHaptic(void);

Returns true if the mouse is haptic or false if it isn't.

This function is available since SDL 3.2.0.

(3), SDL_OpenHapticFromMouse(3)

SDL 3.2.10 Simple Directmedia Layer