SDL_HAPTIC_FRICTION - Friction effect supported - uses axes movement.
Contents
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)
