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</title> 8</head> 9 10<body> 11 12<h1>KPADSetPosParam</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <revolution/kpad.h> 17 18void KPADSetPosParam( s32 chan, f32 play_radius, f32 sensitivity ) ; 19</pre></dd></dl> 20 21<h2>Arguments</h2> 22<TABLE class="arguments" border="1" > 23 <TBODY> 24 <TR> 25<TH>chan</TH> 26<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 27 </TR> 28 <TR> 29<TH>play_radius</TH> 30<TD>Play radius. Specify a value ≥ 0.</TD> 31 </TR> 32 <TR> 33<TH>sensitivity</TH> 34<TD>Sensitivity. 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> 35 </TR> 36 </TBODY> 37</TABLE> 38 39<h2>Return Values</h2> 40<p>None.</p> 41 42<H2>Description</H2> 43<p> 44This function adjusts the play radius and sensitivity for the coordinates where the Wii Remote is pointing. A larger play radius can reduce the fluctuation of values when the Wii Remote is not moving, a lower sensitivity - when the controller is moving. Movement within the play radius is not eliminated completely; however, 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 sensitivity to 1, the values obtained from the device are used without modification. 45</p> 46<p> 47The default values for play radius and sensitivity are 0 and 1, respectively. In the Wii Menu the play radius and sensitivity are set to 0.05 and 1.0. Use these values to make the Wii Remote's behavior match its behavior in the Wii Menu. 48</p> 49 50<h2>See Also</h2> 51<p class="reference"> 52<a href="./KPADGetPosParam.html">KPADGetPosParam</a> 53</p> 54 55<H2>Revision History</H2> 56<P> 572008/03/17 Added the settings used in the Wii Menu.<br>2007/04/25 Added the default values. Added <a href="./KPADGetPosParam.html"><code>KPADGetPosParam</code></a> to <B>See Also</B>.<br>2006/06/19 Changed the product name from tentative to official.<br>2006/03/01 Initial version.<br> 58</P> 59 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62