Man page - sdl_haptic_spring(3)

Packages contas this manual

Manual

SDL_HAPTIC_SPRING(3) SDL3 FUNCTIONS SDL_HAPTIC_SPRING(3)

SDL_HAPTIC_SPRING - Spring effect supported - uses axes position.

Defined in SDL3/SDL_haptic.h

#include "SDL3/SDL.h"
#define SDL_HAPTIC_SPRING       (1u<<7)

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

This macro is available since SDL 3.2.0.

(3), SDL_HapticCondition(3type)

SDL 3.2.10 Simple Directmedia Layer