PADControlMotor

C Specification

#include <revolution/pad.h>

#define PAD_CHAN0               0
#define PAD_CHAN1               1
#define PAD_CHAN2               2
#define PAD_CHAN3               3
#define PAD_MOTOR_STOP          0
#define PAD_MOTOR_RUMBLE        1
#define PAD_MOTOR_STOP_HARD     2
void PADControlMotor(int chan, u32 command);

Arguments

chan One of the PAD_CHANn constants.
command One of the PAD_MOTOR_* commands.

Return Values

None.

Description

This function controls the specified controller motor status.

The WaveBird does not have a rumble motor.

See Also

Controller Functions, PADControlAllMotors, PADStartMotor, PADStopMotor, PADStopMotorHard

Revision History

03/01/2006 Initial version.