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>KPADSetSensorHeight</title>
8</head>
9
10<body>
11
12<h1>KPADSetSensorHeight</h1>
13
14<h2>Syntax</h2>
15<dl><dd><pre class="construction">
16#include &lt;revolution/kpad.h&gt;
17
18void KPADSetSensorHeight( s32 chan, f32 level );
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>level</TH>
30<TD>Sets the height for the Sensor Bar location.</TD>
31    </TR>
32  </TBODY>
33</TABLE>
34
35<h2>Return Values</h2>
36<p>
37None.
38</p>
39
40<H2>Description</H2>
41<p>
42Sets the height for the Sensor Bar location. We recommend initial adjustment in the range of -0.3 to +0.3. When pointing the Pointer at the center of Sensor Bar, set the pointing coordinate to the default of zero. When pointing at the TV screen, the pointing coordinates can be adjusted to zero: use a negative value when the Sensor Bar is below the TV screen and a positive value when above. This means that pointing coordinates can also be adjusted to zero when pointing at the center of TV rather than at the center of Sensor Bar. However, as a side-effect, the larger the absolute value of the setting value, the more sensitive are changes to the pointing coordinates, making fine control difficult.
43</p>
44
45<h2>See Also</h2>
46<p class="reference">
47<a href="./KPADEnableAimingMode.html">KPADEnableAimingMode</a>,
48<a href="./KPADDisableAimingMode.html">KPADDisableAimingMode</a>,
49<a href="./KPADGetProjectionPos.html">KPADGetProjectionPos</a>
50</p>
51
52<H2>Revision History</H2>
53<p>
542006/09/07 Added reference links.<br>2006/08/15 Initial version.<BR>
55</p>
56
57<hr><p>CONFIDENTIAL</p></body>
58</html>