SDL_IsMouseHaptic

Query whether or not the current mouse has haptic capabilities.

Header File

Defined in <SDL3/SDL_haptic.h>

Syntax

bool SDL_IsMouseHaptic(void);

Return Value

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

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryHaptic