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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>KPADSetMplsAngle</title> 9</head> 10 11<body> 12 13<h1>KPADSetMplsAngle</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/kpad.h> 18 19void KPADSetMplsAngle( s32 chan, f32 ax, f32 ay, f32 az ); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<TABLE class="arguments" border="1" > 24 <TBODY> 25 <TR> 26 <TH>chan</TH> 27 <TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</td> 28 </TR> 29 <TR> 30 <TH>ax</TH> 31 <TD>Angle about the pitch axis. A value of 1.0 indicates a 360-degree angle.</td> 32 </TR> 33 <TR> 34 <TH>ay</TH> 35 <TD>Angle about the yaw axis. A value of 1.0 indicates a 360-degree angle.</td> 36 </TR> 37 <TR> 38 <TH>ax</TH> 39 <TD>Angle about the roll axis. A value of 1.0 indicates a 360-degree angle.</td> 40 </TR> 41 </TBODY> 42</TABLE> 43 44<h2>Return Values</h2> 45<p>None.</p> 46 47<H2>Description</H2> 48<p> 49Resets <code>angle</code>, in the <a href="./KPADMPStatus.html"><code>KPADMPStatus</code></a> structure obtained by the <a href="./KPADRead.html"><code>KPADRead</code></a> function for the specified channel's Wii MotionPlus, with arbitrary values. 50</p> 51 52<h2>See Also</h2> 53<P>None.</P> 54 55<H2>Revision History</H2> 56<P> 572008/12/04 Initial version. 58</P> 59 60<hr><p>CONFIDENTIAL</p></body> 61</html>