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 13 14<h1>KPADEnableAimingMode</h1> 15 16 17<h2>C Specification</h2> 18<dl> 19 <dd><pre><code>#include <revolution/kpadOld.h></code></pre> 20 </dd> 21<dd><pre><CODE>void KPADEnableAimingMode( 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> 44Instructs 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. 45</p> 46 47<h2>See Also</h2> 48<p> 49<code><a href="./KPADDisableAimingMode.html">KPADDisableAimingMode</a></code>, <code><a href="./KPADSetSensorHeight.html">KPADSetSensorHeight</a></code>, <code><a href="./KPADGetProjectionPos.html">KPADGetProjectionPos</a></code> 50</p> 51 52<H2>Revision History</H2> 53<p> 542006/09/07 Initial version. <BR> 2006/10/25 Changed the name from Revolution SDK 2.3 to KPADOld library.<br> 55</p> 56 57<hr> 58<P>CONFIDENTIAL</p> 59</BODY> 60</HTML> 61