Skip to content

VibrationPreset

#include "crosspad/platform/VibrationPreset.hpp"

Generated from crosspad/platform/VibrationPreset.hpp in crosspad-core. Edit the header’s doxygen comments to change this page.

Recipes that use it: Motion and vibration

Predefined vibration haptic effects.

Platform adapters translate these to the actual motor driver commands (e.g. DRV2605 waveform sequences).

Used in Motion and vibration.

ValueValueDescription
TouchPressed
TouchPressLost
TouchLongPress
TouchLongPressRepeat
TouchReleased
ImuShake
ImuTap
ImuDoubleTap
ImuFall

Declared in crosspad/platform/VibrationPreset.hpp:12.