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
VibrationPreset
Section titled “VibrationPreset”Predefined vibration haptic effects.
Platform adapters translate these to the actual motor driver commands (e.g. DRV2605 waveform sequences).
Used in Motion and vibration.
| Value | Value | Description |
|---|---|---|
TouchPressed | ||
TouchPressLost | ||
TouchLongPress | ||
TouchLongPressRepeat | ||
TouchReleased | ||
ImuShake | ||
ImuTap | ||
ImuDoubleTap | ||
ImuFall |
Declared in crosspad/platform/VibrationPreset.hpp:12.