PADControlAllMotors

C Specification

#include <revolution/pad.h>

#define PAD_MOTOR_STOP          0
#define PAD_MOTOR_RUMBLE        1
#define PAD_MOTOR_STOP_HARD     2
void PADControlAllMotors(const u32* commandArray);

Arguments

commandArray array of PAD_MOTOR_* (the number of elements is PAD_MAX_CONTROLLERS)

Return Values

None.

Description

The PADControlAllMotors function takes an array of PAD_MOTOR_* commands as an argument and sets all controller motor statuses at once.

The WaveBird does not have a rumble motor.

See Also

Controller Functions,
PADControlMotor, PADStartMotor, PADStopMotor, PADStopMotorHard

Revision History

03/01/2006 Initial version.