#include "wiiuse_internal.h"
Defines |
|
#define | WII_VRES_X 560 |
#define | WII_VRES_Y 340 |
Functions |
|
void | calculate_basic_ir (struct wiimote_t *wm, byte *data) |
Calculate the data from the IR spots. Basic IR mode. |
|
void | calculate_extended_ir (struct wiimote_t *wm, byte *data) |
Calculate the data from the IR spots. Extended IR mode. |
|
float | calc_yaw (struct ir_t *ir) |
Calculate yaw given the IR data. |
float calc_yaw | ( | struct ir_t * | ir | ) |
Calculate yaw given the IR data.
ir | IR data structure. |
void calculate_basic_ir | ( | struct wiimote_t * | wm, | |
byte * | data | |||
) |
Calculate the data from the IR spots. Basic IR mode.
wm | Pointer to a wiimote_t structure. | |
data | Data returned by the wiimote for the IR spots. |
void calculate_extended_ir | ( | struct wiimote_t * | wm, | |
byte * | data | |||
) |
Calculate the data from the IR spots. Extended IR mode.
wm | Pointer to a wiimote_t structure. | |
data | Data returned by the wiimote for the IR spots. |