Scroll to navigation

SDL_HAPTIC_SQUARE(3) SDL3 FUNCTIONS SDL_HAPTIC_SQUARE(3)

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       (1<<2)

DESCRIPTION

Periodic haptic effect that simulates square waves.

AVAILABILITY

This macro is available since SDL 3.0.0.

SEE ALSO

SDL_HapticPeriodic(3type)

SDL 3.1.2 Simple Directmedia Layer