#include "wiiuse_internal.h"
Functions |
|
int | nunchuk_handshake (struct wiimote_t *wm, struct nunchuk_t *nc, byte *data, unsigned short len) |
Handle the handshake data from the nunchuk. |
|
void | nunchuk_disconnected (struct nunchuk_t *nc) |
The nunchuk disconnected. |
|
void | nunchuk_event (struct nunchuk_t *nc, byte *msg) |
Handle nunchuk event. |
void nunchuk_disconnected | ( | struct nunchuk_t * | nc | ) |
The nunchuk disconnected.
nc | A pointer to a nunchuk_t structure. |
void nunchuk_event | ( | struct nunchuk_t * | nc, | |
byte * | msg | |||
) |
Handle nunchuk event.
nc | A pointer to a nunchuk_t structure. | |
msg | The message specified in the event packet. |
int nunchuk_handshake | ( | struct wiimote_t * | wm, | |
struct nunchuk_t * | nc, | |||
byte * | data, | |||
unsigned short | len | |||
) |
Handle the handshake data from the nunchuk.
nc | A pointer to a nunchuk_t structure. | |
data | The data read in from the device. | |
len | The length of the data block, in bytes. |