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 WPAD_CHANn values.
command One of WPAD_MOTOR_STOP, WPAD_MOTOR_RUMBLE.

Return Values

None.

Description

Controls the rumble motor of the Wii Remote Control of the specified channel.

See Also

WPAD関数
WPADStartMotor
WPADStopMotor
WPADEnableMotor

Revision History

10/20/2005 Added WPAD_CHANn macro. 08/01/2005 Initial version.


CONFIDENTIAL