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 <TITLE>Sample Demos for Wii MotionPlus Features</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10 11<H1>Sample Demos for Wii MotionPlus Features</H1> 12 13<H2>Location</H2> 14<P><CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/kpaddemo</CODE></P> 15 16<H2>Execution</H2> 17<P>From the <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/kpaddemo/</CODE> directory, perform the following steps.</P> 18<ul> 19 <li>Execute the demo that matches the Wii's market (<code>WiiMplsDemo_EU.gcm</code>, <code>WiiMplsDemo_JP.gcm</code>, or <code>WiiMplsDemo_US.gcm</code>). 20 <li>For example, if the Wii region is JP, enter <code>ODEM -r -l WiiMplsDemo_JP.gcm &</code>.</li> 21 <li>After the demo launches, attach the Wii MotionPlus to the Wii Remote.</li> 22 <li>After attaching, press the A Button on the Wii Remote to start the demo. Note that if you start the demo first, the screen remains dark until you attach the Wii MotionPlus.</li> 23</ul> 24 25<H2>Description</H2> 26<h3>Demos</h3> 27<p> 28There are three sample demos for Wii MotionPlus features. 29</p> 30<table class="demo_list" border="1"> 31<tr><th>WiiRemote</th><td>In this demo, the attitude correction features of the KPAD library are not used</td></tr> 32<tr><th>FlyingMan</th><td>This demo uses the acceleration and DPD attitude correction features of the KPAD library</td></tr> 33<tr><th>Weapon</th><td>This demo uses the acceleration and special attitude correction features of the KPAD library</td></tr> 34</table> 35 36<h3>Basic Operations</h3> 37<p> 38The basic operations for the Wii MotionPlus feature sample demos are as follows. 39</p> 40<table class="argument" border="1"> 41<tr><th>Up/Down Buttons</th><td>Move the menu cursor.</td></tr> 42<tr><th>L/R Buttons</th><td>Switch between menus.</td></tr> 43<tr><th>A Button</th><td>Reset the orientation of the model so it points toward the back of the screen.</td></tr> 44<tr><th>B Button</th><td>Stop the display of a line graph. When the <CODE>Weapon</CODE> demo is running, this changes the model's center of rotation.</td></tr> 45<tr><th>+/- Buttons</th><td>When the <code>WiiRemote</code> or <code>FlyingMan</code> demo is running, these change the model's center of rotation. When the <CODE>Weapon</CODE> demo is running, these change the model. (There are five kinds.)</td></tr> 46</table> 47 48<h3>Menus</h3> 49<p> 50These are the menus that have been prepared for the Wii MotionPlus feature sample demos. 51</p> 52<table class="argument" border="1"> 53<tr> 54<th>Demo</th><td>Changes the demo. There are three demos: <code>WiiRemote</code>, <code>FlyingMan</code>, and <code>Weapon</code>. When you switch demos, the menus change automatically, but you can also use the cursor to change them.</td> 55</tr> 56<tr> 57<th>Unit</th><td>Toggles the operating mode of the Wii MotionPlus to be either <code>WPAD_MPLS_STD</code> or <code>WPAD_MPLS_FS</code>.</td> 58</tr> 59<tr> 60<th>Drift</th><td>Switches the setting of the KPAD library's <code>KPADSetMplsZeroDriftMode</code> function to be <CODE>KPAD_MPLS_ZERODRIFT_LOOSE</CODE>, <CODE>KPAD_MPLS_ZERODRIFT_STANDARD</CODE>, or <CODE>KPAD_MPLS_ZERODRIFT_TIGHT</CODE>.</td> 61</tr> 62<tr> 63<th>Zero</th><td>Enables or disables the KPAD library's <code>KPADSetMplsZeroPlayParam</code> function. When this function is enabled, parameters keep their default values.</td> 64</tr> 65<tr> 66<th>Dir</th><td>Enables or disables the KPAD library's <code>KPADSetMplsDirReviseParam</code> function. When this function is enabled, parameters and the standard attitude keep their default values.</td> 67</tr> 68<tr> 69<th>Acc</th><td>Enables or disables the KPAD library's <code>KPADSetMplsAccReviseParam</code> function. When this function is enabled, parameters keep their default values.</td> 70</tr> 71<tr> 72<th>Dpd</th><td>Enables or disables the KPAD library's <code>KPADSetMplsDpdReviseParam</code> function. When this function is enabled, parameters keep their default values.</td> 73</tr> 74<tr> 75<th>Move</th><td>Toggles whether to move the model using the acceleration sensor. This feature is not available in the library.</td> 76</tr> 77<tr> 78<th>Graph</th><td>Toggles display of the line graphs for angular velocity in each direction as obtained from the Wii MotionPlus.</td> 79</tr> 80</table> 81 82<h3>Other</h3> 83<ul> 84<li>Sound plays from the Controller speaker when you press the 1 and 2 Buttons, but nothing else happens.</li> 85<li>When two Wii Remotes equipped with the Wii MotionPlus are linked, a second model appears and you can observe twin-sword effects. However, the screen displays information only for the first, and nothing about the second. If you want to return to the display of just one model, cut the P2 link or remove the Wii MotionPlus from the second Wii Remote.</li> 86<li>The numerical values shown to the side in each menu are the values returned by the functions.</li> 87<li><CODE>Rate</CODE> is the number of times that wireless signals are sampled per second.</li> 88<li>The arrows on the right of the screen indicate the angle in each direction.</li> 89</ul> 90 91<H2>Revision History</H2> 92<P> 932009/03/19 Corrected explanation of <code>Zero</code>, <CODE>Dir</CODE>, <CODE>Acc</CODE>, and <CODE>Dpd</CODE> in the menu.<br> 2009/03/04 Initial version. 94</P> 95 96<hr><p>CONFIDENTIAL</p></body> 97</HTML> 98