(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_HAPTIC_STEERING_AXIS

Use this value to play an effect on the steering wheel axis.

Header File

Defined in <SDL3/SDL_haptic.h>

Syntax

#define SDL_HAPTIC_STEERING_AXIS 3

Remarks

This provides better compatibility across platforms and devices as SDL will guess the correct axis.

Version

This macro is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIMacro, CategoryHaptic