28 MotorEffect(
int nController,
int nSmallMotor,
int nBigMotor,
int nDuration);
76 void SetMotors(
int nController,
int nSmallMotor,
int nBigMotor) {
Command that ends a MotorEffect once its duration has passed.
Definition forcefeedbackmgrmotoreffectoffcmd.h:11
One vibration pattern of a controller, which runs both motors for a duration.
Definition forcefeedbackmgrmotoreffect.h:14
void Start()
Start the effect again from its beginning.
Definition forcefeedbackmgrmotoreffect.h:56
~MotorEffect()
Cancel the effect.
Definition forcefeedbackmgrmotoreffect.h:31
MotorEffect(int nController, int nSmallMotor, int nBigMotor, int nDuration)
Construct an effect that is not running, with the command that ends it.
int GetController() const
Definition forcefeedbackmgrmotoreffect.h:81
int GetActive() const
Definition forcefeedbackmgrmotoreffect.h:86
void SetActive(int nActive)
Set whether the effect runs.
Definition forcefeedbackmgrmotoreffect.h:95
void Cancel()
Stop the motors and withdraw the command that ends the effect, when the effect runs.
Definition forcefeedbackmgrmotoreffect.h:43
void SetMotors(int nController, int nSmallMotor, int nBigMotor)
Pass motor levels to the manager.
Definition forcefeedbackmgrmotoreffect.h:76
Owner of one reference to an Attachment.
Definition ptr.h:16
ForceFeedbackMgr * TheForceFeedbackMgr
The vibration manager, ForceFeedbackMgr::shared() as the unit's static initialiser stored it.
Scheduler TheSongScheduler
The scheduler of the song clock.