KPADMPStatus

Syntax

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

typedef struct KPADMPDir{
    Vec  X;
    Vec  Y;
    Vec  Z;
} KPADMPDir;

typedef struct KPADMPStatus{
    Vec  mpls;
    Vec       angle;
    KPADMPDir dir;
} KPADMPStatus;

Elements

Elements Contained in the KPADMPDir Structure

X X-axis direction value.
Y Y-axis direction value.
Z Z-axis direction value.

Elements Contained in the KPADMPStatus Structure

mpls Value of the Wii MotionPlus angular velocity in each direction. 360 dps is expressed as a value ranging from 0 to 1.
angle Value of the Wii MotionPlus rotational velocity obtained by calculating the value of the angular velocity in each direction. 360 degrees is expressed as a value ranging from 0 to 1.0.
dir 3D attitude of the Wii remote and Wii MotionPlus.

Description

This structure stores Wii MotionPlus information that is described in the table above. This structure is updated only while a work area has been set using the KPADSetMplsWorkarea function.

See Also

KPADStatus

Revision History

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


CONFIDENTIAL