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 &lt;revolution/wpad.h&gt;
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><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, 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.
42</P>
43<p>
44The on/off setting for the rumble feature can be registered for the Wii Console using the <a href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a> function.
45</p>
46
47<h2>See Also</h2>
48<p>
49<A href="./toc.html" target="contents"><CODE>WPAD Functions</CODE></A><br> <A href="./WPADIsMotorEnabled.html"><CODE>WPADIsMotorEnabled</CODE></A><br> <A href="./WPADControlMotor.html"><CODE>WPADControlMotor</CODE></A><br> <A href="./WPADStartMotor.html"><CODE>WPADStartMotor</CODE></A><br> <A href="./WPADStopMotor.html"><CODE>WPADStopMotor</CODE></A><br> <A href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a><br>
50</p>
51
52<H2>Revision History</H2>
53<p>
5408/15/2006 Initial version.
55</p>
56<hr>
57<P>CONFIDENTIAL</p>
58</BODY>
59</HTML>