(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_HAPTIC_SQUARE

Square wave effect supported.

Header File

Defined in <SDL3/SDL_haptic.h>

Syntax

#define SDL_HAPTIC_SQUARE       (1u<<2)

Remarks

Periodic haptic effect that simulates square waves.

Version

This macro is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic