logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HAPTIC_FRICTION - Friction effect supported - uses axes movement.

Availability

       This macro is available since SDL 3.2.0.

Description

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

Header File

       Defined in SDL3/SDL_haptic.h

Name

       SDL_HAPTIC_FRICTION - Friction effect supported - uses axes movement.

See Also

(3), SDL_HapticCondition(3type)

Simple Directmedia Layer                           SDL 3.2.10                             SDL_HAPTIC_FRICTION(3)

Synopsis

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

See Also