TSdlHapticFeature
Haptic features.
Definition
Unit: Neslib.Sdl3.Haptic
type TSdlHapticFeature = (Constant, Sine, Square, Triangle, SawToothUp, SawToothDown, Ramp, Spring, Damper, Inertia, Friction, LeftRight, Custom, Gain, AutoCenter...)
Enumeration Values
Constant = 0
Supports constant haptic effect.
Sine = 1
Supports periodic haptic effect that simulates sine waves.
Square = 2
Supports periodic haptic effect that simulates square waves.
Triangle = 3
Supports periodic haptic effect that simulates triangular waves.
SawToothUp = 4
Supports periodic haptic effect that simulates saw tooth up waves.
SawToothDown = 5
Supports periodic haptic effect that simulates saw tooth down waves.
Ramp = 6
Supports ramp haptic effect.
Spring = 7
Supports condition haptic effect that simulates a spring. Effect is based on the axes position.
Damper = 8
Supports condition haptic effect that simulates dampening. Effect is based on the axes velocity.
Inertia = 9
Supports condition haptic effect that simulates inertia. Effect is based on the axes acceleration.
Friction = 10
Supports condition haptic effect that simulates friction. Effect is based on the axes movement.
LeftRight = 11
Supports haptic effect for direct control over high/low frequency motors.
Custom = 15
Supports user defined custom haptic effect.
Gain = 16
Device supports setting the global gain.
AutoCenter = 17
Device supports setting autocenter.
Status = 18
Device supports querying effect status.
Pause = 19
Devices supports being paused.