RumbleDescription class
#include <Jazz2/Input/RumbleDescription.h>
Describes a gamepad rumble effect.
Stores a rumble effect as a timeline of frames, each specifying the low/high frequency motor and trigger intensities up to a given end time. Instances are played back by RumbleProcessor.
Constructors, destructors, conversion operators
- RumbleDescription()
- Creates a new instance.
Public functions
- void AddToTimeline(float endTime, float lowFreq, float highFreq, float leftTrigger = 0.0f, float rightTrigger = 0.0f)
- Adds a new frame to the effect timeline.