Skip to content

TSdlHapticDirectionKind

Types of haptic directions

Definition

Unit: Neslib.Sdl3.Haptic

type TSdlHapticDirectionKind = (Polar, Cartesian, Spherical, SteeringAxis)

Enumeration Values

Polar = SDL_HAPTIC_POLAR

Uses polar coordinates for the direction.


Cartesian = SDL_HAPTIC_CARTESIAN

Uses cartesian coordinates for the direction.


Spherical = SDL_HAPTIC_SPHERICAL

Uses spherical coordinates for the direction.


SteeringAxis = SDL_HAPTIC_STEERING_AXIS

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

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