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>WPADControlMotor</title> 10</head> 11 12<body> 13 14<h1>WPADControlMotor</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/wpad.h> 19 20#define WPAD_CHAN0 0 21#define WPAD_CHAN1 1 22#define WPAD_CHAN2 2 23#define WPAD_CHAN3 3 24 25#define WPAD_MOTOR_STOP 0 26#define WPAD_MOTOR_RUMBLE 1 27 28void WPADControlMotor( s32 chan, u32 command ); 29</pre></dd></dl> 30 31<h2>Arguments</h2> 32<TABLE class="arguments" border="1" > 33 <TBODY> 34 <TR> 35<TH>chan</TH> 36<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 37 </TR> 38 <TR> 39<TH>command</TH> 40<TD>One of the following: <code>WPAD_MOTOR_STOP</code> or <code>WPAD_MOTOR_RUMBLE</code>.</TD> 41 </TR> 42 </TBODY> 43</TABLE> 44 45<h2>Return Values</h2> 46<p>None.</p> 47 48<H2>Description</H2> 49<P>Controls the Rumble Feature for the Wii Remote of the specified channel.</P> 50 51<h2>See Also</h2> 52<p class="reference"> 53<A href="./WPADStartMotor.html">WPADStartMotor</A>, 54<A href="./WPADStopMotor.html">WPADStopMotor</A>, 55<A href="./WPADEnableMotor.html">WPADEnableMotor</A> 56</p> 57 58<H2>Revision History</H2> 59<p> 602005/10/20 Added the <CODE>WPAD_CHAN<i>n</i></CODE> macros.<br>2005/08/01 Initial version.<br> 61</p> 62 63<hr><p>CONFIDENTIAL</p></body> 64</html>