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

SDL_HAPTIC_SPRING

Spring effect supported - uses axes position.

Header File

Defined in SDL_haptic.h

Syntax

#define SDL_HAPTIC_SPRING     (1u<<7)

Remarks

Condition haptic effect that simulates a spring. Effect is based on the axes position.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic