SDL_HAPTIC_SPRING - Man Page

Spring effect supported — uses axes position.

Header File

Defined in SDL3/SDL_haptic.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_HAPTIC_SPRING       (1u<<7)

Description

Condition haptic effect that simulates a spring. Effect is based on the axes position.

Availability

This macro is available since SDL 3.2.0.

See Also

·(3), SDL_HapticCondition(3type)

Referenced By

SDL_HapticCondition.3type(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS