KPADSetMplsMagnification

Syntax

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

void KPADSetMplsMagnification( s32 chan, f32 pitch, f32 yaw, f32 roll );

Parameters

chan One of the WPAD_CHANn values.
pitch The scaling to apply when calculating angular speed in the pitch direction.
yaw The scaling to apply when calculating angular speed in the yaw direction.
roll The scaling to apply when calculating angular speed in the roll direction.

Return Values

None.

Description

Sets the scaling to apply to each direction when calculating the angular speed for the specified channel's Wii MotionPlus.

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.
2009/01/22 Initial version.


CONFIDENTIAL