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>KPADGetDistParam</title> 8</head> 9 10<body> 11 12<h1>KPADGetDistParam</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <revolution/kpad.h> 17 18void KPADGetDistParam( 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>Specify a pointer for copying the currently set play radius.</TD> 31 </TR> 32 <TR> 33<TH>sensitivity</TH> 34<TD>Specify a pointer for copying the currently set sensitivity.</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 gets the play radius and the sensitivity for the distance between Sensor Bar and Wii Remote, calculated from the value gotten by DPD.<br>The default values for play radius and sensitivity are 0 and 1, respectively. 45</p> 46 47<h2>See Also</h2> 48<p class="reference"> 49<a href="./KPADSetDistParam.html">KPADSetDistParam</a> 50</p> 51 52<H2>Revision History</H2> 53<P> 542007/04/25 Initial version.<br> 55</P> 56 57<hr><p>CONFIDENTIAL</p></body> 58</html> 59