(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

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.0.0.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic