DOKK / manpages / debian 13 / libsdl3-doc / SDL_HAPTIC_FRICTION.3.en
SDL_HAPTIC_FRICTION(3) SDL3 FUNCTIONS SDL_HAPTIC_FRICTION(3)

SDL_HAPTIC_FRICTION - Friction effect supported - uses axes movement.

Defined in SDL3/SDL_haptic.h

#include "SDL3/SDL.h"
#define SDL_HAPTIC_FRICTION     (1u<<10)

Condition haptic effect that simulates friction. Effect is based on the axes movement.

This macro is available since SDL 3.2.0.

(3), SDL_HapticCondition(3type)

SDL 3.2.10 Simple Directmedia Layer