1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WPADEnableMotor</title> 10</head> 11 12<body> 13 14<h1>WPADEnableMotor</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/wpad.h> 21 22void WPADEnableMotor( BOOL enable );</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1"> 28 <TBODY> 29 <TR> 30<TD width="120" bgcolor="#ffffe8"><CODE><b><i>enable</i></b></CODE></TD> 31<TD>Turns on/off the rumble feature. The rumble feature is turned on if <CODE>TRUE</CODE> and off if <code>FALSE</code>.</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35 36<h2>Return Values</h2> 37 38<p>None.</p> 39<H2>Description</H2> 40<P> 41Turns the vibration feature for the Wii Remote on and off. The settings made by this function are applied to all the Wii Remotes. The Rumble feature of the Wii Remote may be stopped by turning the Rumble off. Note, however, that this function should not be called when this setting is turned off in the console setting. 42</P> 43<p> 44Although the <a href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a> function can be used to register for the Wii console the on/off setting for the Rumble Feature, this function should not be called from applications other than the Home Menu. 45</p> 46 47<h2>See Also</h2> 48<p> 49<A href="./toc.html" target="contents">WPAD Functions</A><br> <A href="./WPADIsMotorEnabled.html"><CODE>WPADIsMotorEnabled</CODE></A>, <A href="./WPADControlMotor.html"><CODE>WPADControlMotor</CODE></A>, <A href="./WPADStartMotor.html"><CODE>WPADStartMotor</CODE></A>, <A href="./WPADStopMotor.html"><CODE>WPADStopMotor</CODE></A>, <A href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a><br> 50</p> 51 52<H2>Revision History</H2> 53<p> 542007/03/22 Added a note about the <a href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a> function when the console setting is off.<BR>2006/09/18 Mentioned that the Rumble Feature may be stopped by turning the setting off.<br>2006/08/15 Initial version.<br> 55</p> 56<hr><p>CONFIDENTIAL</p></body> 57</html>