WPADEnableMotor

Syntax

#include <revolution/wpad.h>

void WPADEnableMotor( BOOL enable );

Arguments

enable Turns on/off the rumble feature. This is turned on if TRUE and off if FALSE.

Return Values

None.

Description

Turns the Rumble Feature for the Wii Remote on and off. The settings made by this function are applied to all the Wii Remotes. Even if it is already running, the Rumble Motor on a Wii Remote can be stopped by turning the Rumble Feature off. This function may be used for debugging, but it should not be used from any application other than the HOME Menu in the retail version.

Although the Rumble Feature On/Off setting can be recorded in the Wii console using the WPADSaveConfig function, this function should also not be called from applications other than the Home Menu in the retail version.

See Also

WPADIsMotorEnabled, WPADControlMotor, WPADStartMotor, WPADStopMotor, WPADSaveConfig

Revision History

2008/03/17 Deleted the warning pertaining to when the feature is turned off in System Settings. Strengthened the warning about calling this function in the retail version.
2007/03/22 Added a note about the WPADSaveConfig function when the console setting is off.
2006/09/18 Mentioned that the Rumble Feature can be stopped by turning the setting off.
2006/08/15 Initial version.


CONFIDENTIAL