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>KPADDisableAimingMode</title>
8</head>
9
10<body>
11
12
13
14<h1>KPADDisableAimingMode</h1>
15
16
17<h2>C Specification</h2>
18<dl>
19<dd><pre><code>#include &lt;revolution/kpad.h&gt;</code></pre>
20  </dd>
21<dd><pre><CODE>void KPADDisableAimingMode( s32 chan ) ;</CODE></pre>
22  </dd>
23</dl>
24
25<h2>Arguments</h2>
26<p>
27<TABLE border="1">
28  <TBODY>
29    <TR>
30<TD><code><b><i>chan</i></b></code></TD>
31<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
32    </TR>
33  </TBODY>
34</TABLE>
35</p>
36
37<h2>Return Values</h2>
38<p>
39None.
40</p>
41
42<H2>Description</H2>
43<p>
44With this function, the origin (0,0) is set not to where the Wii Remote is actually pointing on the TV screen, but to the position when it points to the center of the sensor bar.
45</p>
46
47<p>
48Although this state was default in the past, it is no longer the default because revisions have been made so that the <code><a href="KPADEnableAimingMode.html">KPADEnableAimingMode</a></code> function is called from <code><a href="KPADInit.html">KPADInit</a></code>.
49</p>
50
51<h2>See Also</h2>
52<p>
53<code><a href="./KPADEnableAimingMode.html">KPADEnableAimingMode</a></code>, <code><a href="./KPADSetSensorHeight.html">KPADSetSensorHeight</a></code>, <code><a href="./KPADGetProjectionPos.html">KPADGetProjectionPos</a></code>
54</p>
55
56<H2>Revision History</H2>
57<p>
582007/01/15 Revised so that the coordinate correction function is enabled by default.<br>2006/09/07 Initial version. <BR>
59</p>
60
61<hr>
62<P>CONFIDENTIAL</p>
63</BODY>
64</HTML>
65