(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)
SDL_HAPTIC_SPRING
Spring effect supported - uses axes position.
Defined in <SDL3/SDL_haptic.h>
Syntax
Condition haptic effect that simulates a spring. Effect is based on the axes position.
Version
This macro is available since SDL 3.0.0.
See Also
CategoryAPI, CategoryAPIMacro, CategoryHaptic