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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/pad.h&gt;
19
20#define PAD_MOTOR_STOP          0
21#define PAD_MOTOR_RUMBLE        1
22#define PAD_MOTOR_STOP_HARD     2
23
24void PADControlAllMotors(const u32* commandArray);
25</pre></dd></dl>
26
27<h2>Arguments</h2>
28<TABLE class="arguments" border="1" >
29  <tr>
30<TH>commandArray</TH>
31<TD>Array of <CODE>PAD_MOTOR_*</CODE> (the number of elements is <CODE>PAD_MAX_CONTROLLERS</CODE>)</TD>
32  </tr>
33</TABLE>
34
35<h2>Return Values</h2>
36<p>None.</p>
37
38<H2>Description</H2>
39<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>
40<P>The WaveBird does not have a rumble motor.</P>
41
42<h2>See Also</h2>
43<p class="reference">
44<a href="PADControlMotor.html">PADControlMotor</a>,
45<a href="PADStartMotor.html">PADStartMotor</a>,
46<a href="PADStopMotor.html">PADStopMotor</a>,
47<a href="PADStopMotorHard.html">PADStopMotorHard</a>
48</p>
49
50<H2>Revision History</H2>
51<P>
522006/03/01 Initial version.<br>
53</p>
54
55<hr><p>CONFIDENTIAL</p></body>
56</html>