WPADControlMotor

C Specification

#include <revolution/wpad.h>

#define WPAD_CHAN0               0
#define WPAD_CHAN1               1
#define WPAD_CHAN2               2
#define WPAD_CHAN3               3

#define WPAD_MOTOR_STOP          0
#define WPAD_MOTOR_RUMBLE        1

void WPADControlMotor( s32 chan, u32 command );

Arguments

chan One of the WPAD_CHANn values.
command One of the following: WPAD_MOTOR_STOP, WPAD_MOTOR_RUMBLE.

Return Values

None.

Description

Controls the rumble feature for the Wii Remote of the specified channel.

See Also

WPAD Functions
WPADStartMotor
WPADStopMotor

Revision History

2007/12/10 Deleted WPADEnableMotor from the See Also section.
2005/10/20 Added WPAD_CHANn macro.
2005/08/01 Initial version.


CONFIDENTIAL