14 #define MAX_WIIMOTES 4
23 namespace vreckoDP_base {
30 virtual int openDevice(
void);
31 int closeDevice(
void);
35 virtual bool initialize(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *pParametersNode = NULL);
36 XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *saveXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *);
41 void handle_event(
int currentWiimoteID,
struct wiimote_t* wm);
42 void handle_read(
struct wiimote_t* wm,
byte* data,
unsigned short len);
43 void handle_ctrl_status(
struct wiimote_t* wm);
44 void handle_disconnect(wiimote* wm);
45 void test(
struct wiimote_t* wm,
byte* data,
unsigned short len);