module SDL2::Haptic::FEATURES

Different haptic features a device can have

Constants

AUTOCENTER

Device supports setting autocenter

CONSTANT

Constant haptic effect

CUSTOM

Custom effect is supported.

DAMPER

Condition haptic effect that simulates dampening. Effect is based on the axes velocity.

FRICTION

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

GAIN

Device supports setting the global gain.

INERTIA

Condition haptic effect that simulates inertia. Effect is based on the axes acceleration.

LEFTRIGHT

Haptic effect for direct control over high/low frequency motors.

PAUSE

Device can be paused

RAMP

Ramp haptic effect

SAWTOOTHDOWN

Periodic haptic effect that simulates saw tooth down waves.

SAWTOOTHUP

Periodic haptic effect that simulates saw tooth up waves.

SINE

Periodic haptic effect that simulates sine waves.

SPRING

Condition haptic effect that simulates a spring. Effect is based on axes position.

STATUS

Device can be queried for effect status

TRIANGLE

Peridodic haptic effect that simulates triangular waves.