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>PADControlAllMotors</title> 10</head> 11 12<body> 13 14<h1>PADControlAllMotors</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/pad.h> 21 22#define PAD_MOTOR_STOP 0 23#define PAD_MOTOR_RUMBLE 1 24#define PAD_MOTOR_STOP_HARD 2</code></pre> 25 </dd> 26<dd><pre><CODE>void PADControlAllMotors(const u32* commandArray);</CODE></pre> 27 </dd> 28</dl> 29 30<h2>Arguments</h2> 31<TABLE border="1" cellpadding="3" cellspacing="0.1"> 32 <tr> 33<TD width="120" bgcolor="#ffffe8"><FONT face="Courier New"><EM><STRONG>commandArray</STRONG></EM></FONT></TD> 34<TD width="520">array of <code>PAD_MOTOR_*</code> (the number of elements is <code>PAD_MAX_CONTROLLERS</code>)</TD> 35 </tr> 36</TABLE> 37<h2>Return Values</h2> 38 39<p>None.</p> 40<H2>Description</H2> 41<P>The <CODE>PADControlAllMotors</CODE> function takes an array of <code>PAD_MOTOR_*</code> commands as an argument and sets all controller motor statuses at once.</P> 42<P>The WaveBird does not have a rumble motor.</P> 43 44 45<p></p> 46 47<h2>See Also</h2> 48 49<p><a href="toc.html" target="contents">Controller Functions</a>, <br> <a href="PADControlMotor.html"><code>PADControlMotor</code></a>,<code> <a href="PADStartMotor.html">PADStartMotor</a></code>, <a href="PADStopMotor.html"><code>PADStopMotor</code></a>, <a href="PADStopMotorHard.html"><code>PADStopMotorHard</code></a></p> 50<H2>Revision History</H2> 51<P>03/01/2006 Initial version.</p> 52</body> 53</html>