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<h1>KPADDisableAimingMode</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <revolution/kpad.h> 17 18void KPADDisableAimingMode( s32 chan ); 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 </TBODY> 29</TABLE> 30 31<h2>Return Values</h2> 32<p> 33None. 34</p> 35 36<H2>Description</H2> 37<p> 38With this function, the origin (0,0) is set not to where the Wii Remote is actually pointing on the TV screen, but to the remote's position when it points to the center of the sensor bar. 39</p> 40 41<p> 42Previously, the status gained with this function was the default setting; however, the <a href="KPADEnableAimingMode.html"><code>KPADEnableAimingMode</code></a> function is now called from the <a href="KPADInit.html"><code>KPADInit</code></a> function, so this is no longer the default. 43</p> 44 45<h2>See Also</h2> 46<p class="reference"> 47<a href="./KPADEnableAimingMode.html"><CODE>KPADEnableAimingMode</CODE></a><BR><a href="./KPADSetSensorHeight.html"><CODE>KPADSetSensorHeight</CODE></a><BR><a href="./KPADGetProjectionPos.html"><CODE>KPADGetProjectionPos</CODE></a> 48</p> 49 50<H2>Revision History</H2> 51<p> 522007/01/15 Revised such that the coordinate correction feature is enabled by default.<br>2006/09/07 Initial version.<br> 53</p> 54 55<hr><p>CONFIDENTIAL</p></body> 56</html> 57