###### (This is the legacy documentation for SDL2, the previous stable version; [SDL3](https://wiki.libsdl.org/SDL3/) is the current stable version.) # SDL_HAPTIC_GAIN Device can set global gain. ## Header File Defined in [SDL_haptic.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_haptic.h) ## Syntax ```c #define SDL_HAPTIC_GAIN (1u<<12) ``` ## Remarks Device supports setting the global gain. ## See Also - [SDL_HapticSetGain](SDL_HapticSetGain) ---- [CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro), [CategoryHaptic](CategoryHaptic)