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>WPADGetMplsStatus</title> 10</head> 11 12<body> 13 14<h1>WPADGetMplsStatus</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction">#include <revolution/wpad.h> 18 19#define WPAD_CHAN0 0 20#define WPAD_CHAN1 1 21#define WPAD_CHAN2 2 22#define WPAD_CHAN3 3 23 24#define WPAD_MPLS_OFF 0 25#define WPAD_MPLS_STD 4 26#define WPAD_MPLS_EXP 5 27#define WPAD_MPLS_FS 5 28#define WPAD_MPLS_CL 7 29 30u8 WPADGetMplsStatus( s32 chan ); 31</pre></dd></dl> 32 33<h2>Arguments</h2> 34<TABLE class="arguments" border="1" > 35 <TBODY> 36 <TR> 37 <TH>chan</TH> 38 <TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 39 </TR> 40 </TBODY> 41</TABLE> 42 43<h2>Return Values</h2> 44<p> 45One of the <code>WPAD_MPLS_*</code> values. 46</P> 47 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> 53Gets whether a running Wii MotionPlus is plugged into the Wii Remote on the specified channel and, if plugged in, its operational mode. 54</p> 55<p> 56A value of <code>WPAD_MPLS_OFF</code> is returned if a Wii MotionPlus is not plugged into the Wii Remote or if the Wii MotionPlus has not finished being started. If the Wii MotionPlus is running, the specified operational mode is returned by the <a href="./WPADControlMpls.html"><code>WPADControlMpls</code></a> function. 57</p> 58<p> 59<B>Note:</B> The operating mode retrieved by this function is independent of the device type obtained by the <a href="./WPADProbe.html"><code>WPADProbe</code></a> function. For example, even if the operating mode is <code>WPAD_MPLS_STD</code>, the <code>WPAD_DEV_MPLS_FREESTYLE</code> device type results if a Nunchuk is plugged into the Wii MotionPlus. Even if the device type is <code>WPAD_DEV_MPLS_FREESTYLE</code>, the operating mode remains <code>WPAD_MPLS_STD</code> and only data for the Wii MotionPlus is sent to the Wii console. 60</p> 61 62<h2>See Also</h2> 63<p> 64<!--<A href="./toc.html" target="contents">WPAD関数</A>--> <A href="./WPADControlMpls.html"><CODE>WPADControlMpls</CODE></a><BR> <A href="./WPADProbe.html"><CODE>WPADProbe</CODE></a> 65</p> 66 67<H2>Revision History</H2> 68<P> 692009/07/27 Explained that this has been made obsolete starting with SDK 3.3.<br> 2008/12/08 Added notes.<br> 2008/09/30 Added <code>WPAD_MPLS_FS</code> and <code>WPAD_MPLS_CL</code>.<br> 2008/07/18 Initial version. 70</P> 71 72<hr><p>CONFIDENTIAL</p></body> 73</html>