usb compatibility improvements (rodries)
[libogc.git] / wiiuse / nunchuk.h
blob973412eddad4ed823adebd30313d33d45c988119
1 #ifndef __NUNCHUK_H__
2 #define __NUNCHUK_H__
4 #include "wiiuse_internal.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 int nunchuk_handshake(struct wiimote_t* wm, struct nunchuk_t* nc, ubyte* data, uword len);
11 void nunchuk_disconnected(struct nunchuk_t* nc);
12 void nunchuk_event(struct nunchuk_t* nc, ubyte* msg);
14 #ifdef __cplusplus
16 #endif
18 #endif