(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)
SDL_HAPTIC_TRIANGLE
Triangle wave effect supported.
Defined in <SDL3/SDL_haptic.h>
Syntax
#define SDL_HAPTIC_TRIANGLE (1u<<3)
Periodic haptic effect that simulates triangular waves.
Version
This macro is available since SDL 3.0.0.
See Also
CategoryAPI, CategoryAPIMacro, CategoryHaptic