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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/wpad.h&gt;
19
20void WPADEnableMotor( BOOL enable );
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <TBODY>
26    <TR>
27<TH>enable</TH>
28<TD>Turns on/off the rumble feature. This is turned on if <CODE>TRUE</CODE> and off if <code>FALSE</code>.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<h2>Return Values</h2>
34<p>None.</p>
35
36<H2>Description</H2>
37<P>
38Turns 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. <font color="red"><b>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.</b></font>
39</P>
40<p>
41Although the Rumble Feature On/Off setting can be recorded in the Wii console using the <a href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a> function, this function should also not be called from applications other than the Home Menu in the retail version.
42</p>
43
44<h2>See Also</h2>
45<p class="reference">
46<A href="./WPADIsMotorEnabled.html">WPADIsMotorEnabled</A>,
47<A href="./WPADControlMotor.html">WPADControlMotor</A>,
48<A href="./WPADStartMotor.html">WPADStartMotor</A>,
49<A href="./WPADStopMotor.html">WPADStopMotor</A>,
50<A href="./WPADSaveConfig.html">WPADSaveConfig</a>
51</p>
52
53<H2>Revision History</H2>
54<p>
552008/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.<br>2007/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 can be stopped by turning the setting off.<br>2006/08/15 Initial version.<br>
56</p>
57
58<hr><p>CONFIDENTIAL</p></body>
59</html>