#include "BTD.h"
#include "controllerEnums.h"
Go to the source code of this file.
#define WII_FLAG_MOTION_PLUS_CONNECTED (1 << 0) |
Definition at line 27 of file Wii.h.
#define WII_FLAG_NUNCHUCK_CONNECTED (1 << 1) |
Definition at line 28 of file Wii.h.
#define WII_FLAG_CALIBRATE_BALANCE_BOARD (1 << 2) |
Definition at line 29 of file Wii.h.
#define wii_check_flag |
( |
|
flag | ) |
(wii_event_flag & (flag)) |
Definition at line 31 of file Wii.h.
#define wii_set_flag |
( |
|
flag | ) |
(wii_event_flag |= (flag)) |
Definition at line 32 of file Wii.h.
#define wii_clear_flag |
( |
|
flag | ) |
(wii_event_flag &= ~(flag)) |
Definition at line 33 of file Wii.h.
Enum used to read the joystick on the Nunchuck.
Enumerator |
---|
HatX |
Read the x-axis on the Nunchuck joystick.
|
HatY |
Read the y-axis on the Nunchuck joystick.
|
Definition at line 36 of file Wii.h.
Enum used to read the weight on Wii Balance Board.
Enumerator |
---|
TopRight |
|
BotRight |
|
TopLeft |
|
BotLeft |
|
Definition at line 44 of file Wii.h.