WPADControlMotor

Syntax

#include <cafe/pads/wpad/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 );

Parameters

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.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

See Also

WPADStartMotor
WPADStopMotor
WPADEnableMotor

Revision History

2013/05/08 Automated cleanup pass.
2005/10/20 Added the WPAD_CHANn macros.
2005/08/01 Initial version.


CONFIDENTIAL