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

SDL_HAPTIC_INERTIA

Inertia effect supported - uses axes acceleration.

Header File

Defined in SDL_haptic.h

Syntax

#define SDL_HAPTIC_INERTIA    (1u<<9)

Remarks

Condition haptic effect that simulates inertia. Effect is based on the axes acceleration.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic