34 #ifndef NUNCHUK_H_INCLUDED 35 #define NUNCHUK_H_INCLUDED 45 int nunchuk_handshake(
struct wiimote_t *wm,
struct nunchuk_t *nc, byte *data,
unsigned short len);
Nunchuk expansion device.
Definition: wiiuse.h:533
Main Wiimote device structure.
Definition: wiiuse.h:751
General internal wiiuse stuff.
void nunchuk_disconnected(struct nunchuk_t *nc)
The nunchuk disconnected.
Definition: nunchuk.c:133
void nunchuk_pressed_buttons(struct nunchuk_t *nc, byte now)
Find what buttons are pressed.
Definition: nunchuk.c:166
void nunchuk_event(struct nunchuk_t *nc, byte *msg)
Handle nunchuk event.
Definition: nunchuk.c:141