(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_HAPTIC_GAIN

Device can set global gain.

Header File

Defined in SDL_haptic.h

Syntax

#define SDL_HAPTIC_GAIN       (1u<<12)

Remarks

Device supports setting the global gain.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic