10 #define WII_VRES_Y 340 void interpret_ir_data(struct ir_t *ir, struct orient_t *orient)
Interpret IR data into more user friendly variables.
Definition: ir.c:769
Wiimote structure.
Definition: wiiuse.h:594
void calculate_extended_ir(struct wiimote_t *wm, ubyte *data)
Calculate the data from the IR spots. Extended IR mode.
Definition: ir.c:408
IR struct. Hold all data related to the IR tracking.
Definition: wiiuse.h:377
General internal wiiuse stuff.
float calc_yaw(struct ir_t *ir)
Calculate yaw given the IR data.
Definition: ir.c:829
unsigned char ubyte
Definition: wiiuse.h:187
Orientation struct.
Definition: wiiuse.h:303
void calculate_basic_ir(struct wiimote_t *wm, ubyte *data)
Calculate the data from the IR spots. Basic IR mode.
Definition: ir.c:369