---
name: "SDL_HAPTIC_GAIN"
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_HAPTIC_GAIN"
---

# SDL\_HAPTIC\_GAIN(3)

Device can set global gain.

## NAME

SDL\_HAPTIC\_GAIN - Device can set global gain.

## HEADER FILE

Defined in SDL3/SDL\_haptic.h

## SYNOPSIS

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

**#define SDL\_HAPTIC\_GAIN       (1u\<\<16)**

## DESCRIPTION

Device supports setting the global gain.

## AVAILABILITY

This macro is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_SetHapticGain**(3)](/SDL_SetHapticGain/3.md)
