#include <revolution/hbm.h>
/* Wii Remote information */
typedef struct
{
KPADStatus* kpad;
Vec2 pos;
u32 use_devtype;
} HBMKPadData;
/* Wii Remote data structure passed to the HOME Object. */
typedef struct
{
HBMKPadData wiiCon[WPAD_MAX_CONTROLLERS];
} HBMControllerData;
| kpad | Sets the Wii Remote information read by KPADRead. |
|---|---|
| pos | Sets the cursor's display position. |
| use_devtype | Normally, it is set to the device type received by WPADProbe. However, if you want to disable input from unsupported devices, set it to WPAD_DEV_CORE when a disabled device is input. |
Stores Wii Remote input information and sets it in an argument to the HBMCalc function. The HBM library processes and draws buttons based on this input information.
use_devtype.
use_devtype.
CONFIDENTIAL