(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)![](/static_files/link.svg)
SDL_HAPTIC_GAIN
Device can set global gain.
Defined in <SDL3/SDL_haptic.h>
Syntax![](/static_files/link.svg)
#define SDL_HAPTIC_GAIN (1u<<16)
Device supports setting the global gain.
Version![](/static_files/link.svg)
This macro is available since SDL 3.0.0.
See Also![](/static_files/link.svg)
CategoryAPI, CategoryAPIMacro, CategoryHaptic