###### (This is the documentation for SDL3, which is under heavy development and the API is changing! [SDL2](https://wiki.libsdl.org/SDL2/) is the current stable version!) # SDL_HAPTIC_TRIANGLE Triangle wave effect supported. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_haptic.h) ## Syntax ```c #define SDL_HAPTIC_TRIANGLE (1u<<3) ``` ## Remarks Periodic haptic effect that simulates triangular waves. ## Version This macro is available since SDL 3.0.0. ## See Also - [SDL_HapticPeriodic](SDL_HapticPeriodic) ---- [CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro), [CategoryHaptic](CategoryHaptic)