---
name: "SDL_IsMouseHaptic"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_IsMouseHaptic"
---

# SDL\_IsMouseHaptic(3)

Query whether or not the current mouse has haptic capabilities.

## NAME

SDL\_IsMouseHaptic - Query whether or not the current mouse has haptic capabilities.

## HEADER FILE

Defined in SDL3/SDL\_haptic.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**bool SDL\_IsMouseHaptic(void);**

## RETURN VALUE

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

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_OpenHapticFromMouse**(3)](/SDL_OpenHapticFromMouse/3.md)
