1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>KPADSetMplsDirReviseBase</title> 9</head> 10 11<body> 12 13<h1>KPADSetMplsDirReviseBase</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/kpad.h> 18 19void KPADSetMplsDirReviseBase( s32 chan, KPADMPDir *base ); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 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 <TR> 30 <TH>base</TH> 31 <TD>Base attitude to use for attitude correction.</td> 32 </TR> 33 </TBODY> 34</TABLE> 35 36<h2>Return Values</h2> 37<p>None.</p> 38 39<H2>Description</H2> 40<p> 41Configures the base attitude to use when using attitude correction with the specified channel's Wii MotionPlus. If attitude correction is enabled, the attitude is corrected so that it does not drift significantly from the base attitude configured even if the controller is waved around. The direction facing the TV straight on is used as the default base attitude. 42</p> 43 44<h2>See Also</h2> 45<P>None.</P> 46 47<H2>Revision History</H2> 48<P> 492008/12/04 Initial version. 50</P> 51 52<hr><p>CONFIDENTIAL</p></body> 53</html>