KPADSetMplsAngle

Syntax

#include <cafe/pads/kpad/kpad.h>

void KPADSetMplsAngle( s32 chan, f32 ax, f32 ay, f32 az );

Parameters

chan One of the WPAD_CHANn values.
ax Angle about the pitch axis. A value of 1.0 indicates a 360-degree angle.
ay Angle about the yaw axis. A value of 1.0 indicates a 360-degree angle.
az Angle about the roll axis. A value of 1.0 indicates a 360-degree angle.

Return Values

None.

Description

Resets angle, in the KPADMPStatus structure obtained by the KPADRead function for the specified channel's Wii MotionPlus, with arbitrary values.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

Revision History

2013/05/08 Automated cleanup pass.
2008/12/04 Initial version.


CONFIDENTIAL