1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
7<title>KPADGetAccParam</title>
8</head>
9
10<body>
11
12
13
14<h1>KPADGetAccParam</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/kpad.h&gt;</code></pre>
21  </dd>
22<dd><pre><CODE>void KPADGetAccParam( s32 chan, f32 *play_radius, f32 *sensitivity ) ;</CODE></pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<p>
28<TABLE border="1">
29  <TBODY>
30    <TR>
31<TD><code><b><i>chan</i></b></code></TD>
32<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
33    </TR>
34    <TR>
35<TD><CODE><b><i>play_radius</i></b></CODE></TD>
36<TD>Specify a pointer for copying the currently set play radius.</TD>
37    </TR>
38    <TR>
39<TD><CODE><b><i>sensitivity</i></b></CODE></TD>
40<TD>Specify a pointer for copying the currently set chase sensitivity.</TD>
41    </TR>
42  </TBODY>
43</TABLE>
44</p>
45
46<h2>Return Values</h2>
47<p>None.</p>
48
49<H2>Description</H2>
50<p>
51Gets the play radius and the sensitivity for the accelerometer.<BR>The default values for the play radius and the sensitivity are 0 and 1, respectively.
52</p>
53
54<h2>See Also</h2>
55<p>
56<a href="./KPADSetAccParam.html"><code>KPADSetAccParam</code></a>
57</p>
58
59<H2>Revision History</H2>
60<P>
612007/04/25 Initial version.<br>
62</P>
63
64</body>
65</html>
66