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 name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WPADSetMplsCalibration</title> 10</head> 11 12<body> 13 14<h1>WPADSetMplsCalibration</h1> 15 16 17<h2>Syntax</h2> 18 19<dl> 20 <dd><pre><code>#include <revolution/wpad.h> 21 22#define WPAD_CHAN0 0 23#define WPAD_CHAN1 1 24#define WPAD_CHAN2 2 25#define WPAD_CHAN3 3 26 27void WPADSetMplsCalibration( s32 chan, WPADMPStatus *status );</code></pre> 28 </dd> 29</dl> 30 31<h2>Arguments</h2> 32<TABLE class="arguments" border="1"> 33 <TBODY> 34 <TR> 35 <TD><code><b><i>chan</i></b></code></TD> 36 <TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 37 </TR> 38 <TR> 39 <TD><CODE><b><i>status</i></b></CODE></TD> 40 <TD>Buffer that passes each axis's zero-point calibration values for the Wii MotionPlus sensors.</TD> 41 </TR> 42 </TBODY> 43</TABLE> 44<h2>Return Values</h2> 45<p> 46None. 47</p> 48<H2>Description</H2> 49<p> 50<font color="red"><b>This function has been removed from use. Please use the KPAD library if you are using the Wii MotionPlus.</b></font> 51</p> 52<p> 53This function resets the <code>pitch_zero</code>, <code>yaw_zero</code>, and <code>roll_zero</code> members of the low-speed <code>WPADMpls</code> structure with the values of the <code>pitch</code>, <code>yaw</code>, and <code>roll</code> members of the <code>WPADMPStatus</code> structure passed in the <SPAN class="argument">status</SPAN> argument. The low-speed <code>WPADMpls</code> structure is one of the structures that can be obtained from the <a href="./WPADGetMplsCalibration.html"><code>WPADGetMplsCalibration</code></a> function with calibration values for the specified Wii Remote channel's Wii MotionPlus The high-speed structure is reset internally by the library, based on the low-speed values. 54<h2>See Also</h2> 55<p> 56<a href="./WPADGetMplsCalibration.html"><code>WPADGetMplsCalibration</code></a><br> 57</p> 58 59<H2>Revision History</H2> 60<P> 612009/07/27 Explained that this has been made obsolete since SDK 3.3.<br> 2008/07/18 Initial version.<br> 62</P> 63 64<hr><p>CONFIDENTIAL</p></body> 65</html> 66