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>KPADGetMplsStatus</title> 10</head> 11 12<body> 13 14<h1>KPADGetMplsStatus</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/kpad.h> 19 20u8 KPADGetMplsStatus( s32 chan ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <TBODY> 26 <TR> 27 <TH>chan</TH> 28 <TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 29 </TR> 30 </TBODY> 31</TABLE> 32 33<h2>Return Values</h2> 34<p> 35One of the <code>WPAD_MPLS_*</code> values. 36</P> 37 38<H2>Description</H2> 39<p> 40Calls the <a href="../wpad/WPADGetMplsStatus.html"><code>WPADGetMplsStatus</code></a> function internally to determine if a started Wii MotionPlus is plugged into the specified Wii Remote, and if so, whether other controllers are connected. 41</p> 42<p> 43A 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. <code>WPAD_MPLS_STD</code> is returned when the Wii MotionPlus is started and only the Wii MotionPlus is running. <code>WPAD_MPLS_FS</code> is returned when the Wii MotionPlus and a Nunchuk are running. <code>WPAD_MPLS_CL</code> is returned when the Wii MotionPlus and a Classic Controller are running. 44</p> 45 46<h2>See Also</h2> 47<p> 48<!--<A href="./toc.html" target="contents">KPAD関数</A>--> <a href="../wpad/WPADGetMplsStatus.html"><code>WPADGetMplsStatus</code></a> 49</p> 50 51<H2>Revision History</H2> 52<P> 532008/12/04 Added an explanation of <code>WPAD_MPLS_FS</code> and <code>WPAD_MPLS_CL</code>.<br> 2008/07/22 Initial version. 54</P> 55 56<hr><p>CONFIDENTIAL</p></body> 57</html>