1<html>
2
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>PADIsBarrel</title>
9</head>
10
11<body>
12
13<h1>PADIsBarrel</h1>
14
15
16<h2>C Specification</h2>
17
18<dl>
19<dd><pre><code>#include &lt;revolution/pad.h&gt;</code></pre>
20  </dd>
21<dd><pre><CODE>BOOL PADIsBarrel(s32 chan);</CODE></pre>
22  </dd>
23</dl>
24
25<h2>Arguments</h2>
26
27<table border="1" cellpadding="3" cellspacing="0">
28  <tr>
29<td width="120" bgcolor="#ffffe8"><em><code><b><STRONG><EM><CODE>chan</CODE></EM></STRONG></b></code></em></td>
30<td width="520">The controller channel.</td>
31  </tr>
32</table>
33
34<h2>Return Values</h2>
35<P>Returns <code>TRUE</code> if a DK Bongo Controller is connected; otherwise, returns <CODE>FALSE</CODE>. </P>
36<h2>Description</h2>
37<P>This function returns whether the DK Bongo Controller (two bongos shaped like barrels) is plugged into a given channel.</P>
38<P>If the DK Bongo Controller is plugged in, it acts as a normal controller:</P>
39<UL>
40<li>The top portion of the left bongo is the Y Button.
41<li>The bottom portion of the left bongo is the B Button.
42<li>The top portion of the right bongo is the X Button.
43<li>The bottom portion of the right bongo is the A Button.
44<li>The START/PAUSE Button of the DK Bongo Controller is the START/PAUSE Button.
45<li>Sound entering the microphone controls the magnitude of the R Trigger.
46<li>In the DK Bongo Controller, the controller recalibration is not performed.
47</UL>
48
49
50
51<p></p>
52
53<h2>See Also</h2>
54<H2>Revision History</H2>
55<P>03/01/2006 Initial version.</P>
56</body>
57</html>