PADControlMotor

Syntax

#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 PAD_CHANn
command One of PAD_MOTOR_*

Return Values

None.

Description

This function controls the specified controller motor status.

The WaveBird does not have a rumble motor.

See Also

PADControlAllMotors, PADStartMotor, PADStopMotor, PADStopMotorHard

Revision History

2006/03/01 Initial version.


CONFIDENTIAL