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>KPADEnableAimingMode (KPADOld)</title>
8</head>
9
10<body>
11
12<h1>KPADEnableAimingMode</h1>
13
14<h2>Syntax</h2>
15<dl><dd><pre class="construction">
16#include &lt;revolution/kpadOld.h&gt;
17
18void KPADEnableAimingMode( s32 chan );
19</pre></dd></dl>
20
21<h2>Arguments</h2>
22<p>
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  </TBODY>
30</TABLE>
31</p>
32
33<h2>Return Values</h2>
34<p>
35None.
36</p>
37
38<H2>Description</H2>
39<p>
40Instructs the KPAD library to calculate the coordinates closest to the spot on the TV screen actually being pointed at by the Wii Remote. Coordinates close to (0, 0) are returned when the Wii Remote is aimed at the center of the TV screen when this function is called.
41</p>
42
43<h2>See Also</h2>
44<p class="reference">
45<a href="./KPADDisableAimingMode.html">KPADDisableAimingMode</a>,
46<a href="./KPADSetSensorHeight.html">KPADSetSensorHeight</a>,
47<a href="./KPADGetProjectionPos.html">KPADGetProjectionPos</a>
48</p>
49
50<H2>Revision History</H2>
51<p>
522006/10/25 Changed the name to KPADOld library starting with Revolution SDK 2.3.<br>2006/09/07 Initial version.<br>
53</p>
54
55<hr><p>CONFIDENTIAL</p></body>
56</html>
57