More hacking:

* initial Wii Motion+ support
* initial timer support
This commit is contained in:
2011-05-15 22:22:50 +00:00
parent 52e1c59a2e
commit b3f0bbf7c9
9 changed files with 415 additions and 49 deletions

20
wmp.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef __WMP_H
#define __WMP_H
#include "types.h"
extern unsigned int wmp_yaw;
extern unsigned int wmp_pitch;
extern unsigned int wmp_roll;
extern unsigned char wmp_calibration_data[];
extern bool wmp_yaw_fast;
extern bool wmp_pitch_fast;
extern bool wmp_roll_fast;
bool wmp_init(void);
bool wmp_sample(void);
bool wmp_read_calibration_data(void);
#endif /* __WMP_H */