SDL_HAPTIC_FRICTION(3)

SDL_HAPTIC_FRICTION3

Friction effect supported - uses axes movement.

Usage

#include "SDL3/SDL.h"

#define SDL_HAPTIC_FRICTION (1u<<10)

Header file

Defined in SDL3/SDL_haptic.h

Overview

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

Availability

This macro is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.