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=utf-8"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 7<title>KPADMPStatus</title> 8</head> 9 10<body> 11 12<h1>KPADMPStatus</h1> 13 14<H2>Syntax</H2> 15<dl><dd><pre class="construction"> 16#include <revolution/kpad.h> 17 18typedef struct KPADMPDir{ 19 Vec X ; 20 Vec Y ; 21 Vec Z ; 22} KPADMPDir ; 23 24typedef struct KPADMPStatus{ 25 Vec mpls ; 26 Vec angle ; 27 KPADMPDir dir ; 28} KPADMPStatus ; 29</pre></dd></dl> 30 31<H2>Elements</H2> 32<TABLE class="arguments" border="1" > 33 <TBODY> 34 <tr> 35 <TH>mpls</TH> 36 <TD>Value of the Wii MotionPlus angular velocity in each direction. 360 dps is expressed as a value ranging from 0 to 1.</TD> 37 </tr> 38 <tr> 39 <TH>angle</TH> 40 <TD>Value of the Wii MotionPlus rotational velocity obtained by calculating the value of the angular velocity in each direction. 360 degrees is expressed as a value ranging from 0 to 1.0.</TD> 41 </tr> 42 <tr> 43 <TH>dir</TH> 44 <TD>3D attitude of the Wii Remote and Wii MotionPlus.</TD> 45 </tr> 46 </TBODY> 47</TABLE> 48 49<h2>Description</h2> 50<p> 51This structure stores Wii MotionPlus information. This structure is updated only while a work area has been set using the <a href="./KPADSetMplsWorkarea.html"><code>KPADSetMplsWorkarea</code></a> function. 52</p> 53 54<H2>See Also</H2> 55<p class="reference"> 56<a href="./KPADStatus.html">KPADStatus</a> 57</p> 58 59<H2>Revision History</H2> 60<P> 612008/12/04 Initial version. 62</P> 63 64<hr><p>CONFIDENTIAL</p></body> 65</HTML> 66