SDL_HAPTIC_INERTIA

Inertia effect supported - uses axes acceleration.

Header File

Defined in <SDL3/SDL_haptic.h>

Syntax

#define SDL_HAPTIC_INERTIA      (1u<<9)

Remarks

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

Version

This macro is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic