change PAD_ScanPads()s behaviour. the return value now contains a bitmask of the...
[libogc.git] / wiiuse / ir.h
blobf90cfc89c53167bb494a090024fd0698c0f0cbdd
1 #ifndef __IR_H__
2 #define __IR_H__
4 #include "wiiuse_internal.h"
6 #define WII_VRES_X 560
7 #define WII_VRES_Y 340
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 void calculate_basic_ir(struct wiimote_t* wm, ubyte* data);
14 void calculate_extended_ir(struct wiimote_t* wm, ubyte* data);
15 float calc_yaw(struct ir_t* ir);
16 void interpret_ir_data(struct ir_t* ir, struct orient_t *orient);
18 #ifdef __cplusplus
20 #endif
22 #endif