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>WPADStopMotor</title>
10</head>
11
12<body>
13
14<h1>WPADStopMotor</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/wpad.h&gt;
21
22#define WPAD_CHAN0               0
23#define WPAD_CHAN1               1
24#define WPAD_CHAN2               2
25#define WPAD_CHAN3               3
26</code></pre>
27  </dd>
28<dd><pre><code>#define WPADStopMotor( chan )      WPADControlMotor( (chan), WPAD_MOTOR_STOP )</code></pre>
29  </dd>
30</dl>
31
32<h2>Arguments</h2>
33<TABLE border="1">
34  <tr>
35<TD width="120" bgcolor="#ffffe8"><code><b><i>chan</i></b></code></TD>
36<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
37    </tr>
38</TABLE>
39<h2>Return Values</h2>
40
41<p>None.</p>
42<H2>Description</H2>
43<P>Stops vibration on the Wii Remote of the specified channel.</P>
44
45<h2>See Also</h2>
46<p>
47<A href="./toc.html" target="contents">WPAD Functions</A><br> <A href="./WPADControlMotor.html"><CODE>WPADControlMotor</CODE></A>, <A href="./WPADStartMotor.html"><CODE>WPADStartMotor</CODE></A>
48</p>
49
50<H2>Revision History</H2>
51<P>
522005/10/20 Added <code>WPAD_CHAN<i>n</i></code> macro<br> 2005/08/01 Initial version.<br>
53</P>
54<hr>
55<P>CONFIDENTIAL</p>
56</BODY>
57</HTML>