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=utf-8">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>KPADSetMplsAccReviseParam</title>
9</head>
10
11<body>
12
13<h1>KPADSetMplsAccReviseParam</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution/kpad.h&gt;
18
19void KPADSetMplsAccReviseParam( s32 chan, f32 revise_pw, f32 revise_range );
20</pre></dd></dl>
21
22<h2>Arguments</h2>
23<TABLE class="arguments" border="1" >
24  <TBODY>
25    <TR>
26      <TH>chan</TH>
27      <TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</td>
28    </TR>
29    <TR>
30      <TH>revise_pw</TH>
31      <TD>Weight used for acceleration correction. Set a value between 0 and 1. The greater the value, the more dramatically correction is applied.</td>
32    </TR>
33    <TR>
34      <TH>revise_range</TH>
35      <TD>Valid range for acceleration correction. Acceleration sensor values in this range centered on gravitational acceleration are used in correction calculations. A value of 1.0f indicates the magnitude of gravitational acceleration. In other words, if 0.4f is specified, acceleration sensor values that fit in the range between 0.6f and 1.4f are used in the correction calculation.</td>
36    </TR>
37  </TBODY>
38</TABLE>
39
40<h2>Return Values</h2>
41<p>None.</p>
42
43<H2>Description</H2>
44<p>
45Configures the level of acceleration correction for the specified channel's Wii MotionPlus. These settings are applied to all axes.
46</p>
47
48<h2>See Also</h2>
49<p class="reference">
50<a href="./KPADGetMplsAccReviseParam.html"><CODE>KPADGetMplsAccReviseParam</CODE></a><BR> <a href="./KPADInitMplsAccReviseParam.html"><CODE>KPADInitMplsAccReviseParam</CODE></a>
51</P>
52
53<H2>Revision History</H2>
54<P>
552008/12/04 Initial version.
56</P>
57
58<hr><p>CONFIDENTIAL</p></body>
59</html>