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>KPADSetPosParam (KPADOld)</title>
8</head>
9
10<body>
11
12
13
14<h1>KPADSetPosParam</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20  <dd><pre><code>#include &lt;revolution/kpadOld.h&gt;</code></pre>
21  </dd>
22<dd><pre><CODE>void KPADSetPosParam( 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>Play radius. Specify a value &#x2265; 0.</TD>
37    </TR>
38    <TR>
39<TD><CODE><b><i>sensitivity</i></b></CODE></TD>
40<TD>The sensitivity. <BR>Specify a value from 0 to 1. When set to 0, there is no response. When set to 1, the values obtained from the device are used without modification.</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>
51This function adjusts the play radius and sensitivity for the coordinates indicated by the pointing device. A larger play radius can reduce the fluctuation of values when the Wii Remote is not moving. A lower sensitivity can reduce fluctuation of values when the controller is moving. Movement within the play radius is not eliminated completely, but as you approach the limit of the play radius, the amount of movement becomes extremely small. If the play radius is set to 0 and the sensitivity is set to 1, the values obtained from the device are used without modification.
52</p>
53
54<h2>See Also</h2>
55
56<H2>Revision History</H2>
57<P>
582006/03/01 Initial version. <BR>2006/06/19 Changed tentative product name to official name.<BR> 2006/10/25 Changed the name from Revolution SDK 2.3 to KPADOld library.<br>
59</P>
60
61<hr>
62<P>CONFIDENTIAL</p>
63</BODY>
64</HTML>
65