SDL_HAPTIC_INERTIA - Man Page

Inertia effect supported — uses axes acceleration.

Header File

Defined in SDL3/SDL_haptic.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_HAPTIC_INERTIA      (1u<<9)

Description

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

Availability

This macro is available since SDL 3.2.0.

See Also

·(3), SDL_HapticCondition(3type)

Referenced By

SDL_HapticCondition.3type(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS