KPADMPStatus

Syntax

#include <revolution/kpad.h>

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

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

Elements

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. This structure is updated only while a work area has been set using the KPADSetMplsWorkarea function.

See Also

KPADStatus

Revision History

2008/12/04 Initial version.


CONFIDENTIAL