Man page - sdl_haptic_square(3)

Packages contas this manual

Manual

SDL_HAPTIC_SQUARE(3) SDL3 FUNCTIONS SDL_HAPTIC_SQUARE(3)

SDL_HAPTIC_SQUARE - Square wave effect supported.

Defined in SDL3/SDL_haptic.h

#include "SDL3/SDL.h"
#define SDL_HAPTIC_SQUARE       (1u<<2)

Periodic haptic effect that simulates square waves.

This macro is available since SDL 3.2.0.

(3), SDL_HapticPeriodic(3type)

SDL 3.2.10 Simple Directmedia Layer