Reference

SDL_HAPTIC_SQUARE(3)

Square wave effect supported.

NAME

SDL_HAPTIC_SQUARE - Square wave effect supported.

HEADER FILE

Defined in SDL3/SDL_haptic.h

SYNOPSIS

#include "SDL3/SDL.h"

#define SDL_HAPTIC_SQUARE (1u<<2)

DESCRIPTION

Periodic haptic effect that simulates square waves.

AVAILABILITY

This macro is available since SDL 3.2.0.

SEE ALSO

•(3), SDL_HapticPeriodic(3type)