KPADSetMplsDirection

Syntax

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

void KPADSetMplsDirection( s32 chan, KPADMPDir *dir );

Parameters

chan One of the WPAD_CHANn values.
dir Arbitrary three-dimensional attitude to set.

Return Values

None.

Description

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

Attitude can be corrected with the KPAD library. If you disable any of the types of correction, use this function to reset those uncorrected attitude elements to appropriate 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