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>PADControlMotor</title> 10</head> 11 12<body> 13 14<h1>PADControlMotor</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/pad.h> 19 20#define PAD_CHAN0 0 21#define PAD_CHAN1 1 22#define PAD_CHAN2 2 23#define PAD_CHAN3 3 24 25#define PAD_MOTOR_STOP 0 26#define PAD_MOTOR_RUMBLE 1 27#define PAD_MOTOR_STOP_HARD 2 28 29void PADControlMotor(int chan, u32 command); 30</pre></dd></dl> 31 32<h2>Arguments</h2> 33<TABLE class="arguments" border="1" > 34 <tr> 35<TH>chan</TH> 36<TD>One of <code>PAD_CHAN<i>n</i></code></TD> 37 </tr> 38 <tr> 39<TH>command</TH> 40<TD>One of <code>PAD_MOTOR_*</code></TD> 41 </tr> 42</TABLE> 43 44<h2>Return Values</h2> 45<p>None.</p> 46 47<H2>Description</H2> 48<P>This function controls the specified controller motor status.</P> 49<P>The WaveBird does not have a rumble motor.</P> 50 51<h2>See Also</h2> 52<p class="reference"> 53<a href="PADControlAllMotors.html">PADControlAllMotors</a>, 54<a href="PADStartMotor.html">PADStartMotor</a>, 55<a href="PADStopMotor.html">PADStopMotor</a>, 56<a href="PADStopMotorHard.html">PADStopMotorHard</a> 57</p> 58 59<H2>Revision History</H2> 60<P> 612006/03/01 Initial version.<br> 62</P> 63 64<hr><p>CONFIDENTIAL</p></body> 65</html>