#include <revolution/kpad.h>
typedef struct KPADMPDir{
Vec X ;
Vec Y ;
Vec Z ;
} KPADMPDir ;
typedef struct KPADMPStatus{
Vec mpls ;
Vec angle ;
KPADMPDir dir ;
} KPADMPStatus ;
| 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. |
This structure stores Wii MotionPlus information. This structure is updated only while a work area has been set using the KPADSetMplsWorkarea function.
2008/12/04 Initial version.
CONFIDENTIAL