xbmc
|
Handles device I/O (non-OS specific). More...
#include <stdio.h>
#include <stdlib.h>
#include "definitions.h"
#include "wiiuse_internal.h"
#include "io.h"
Functions | |
void | wiiuse_handshake (struct wiimote_t *wm, byte *data, unsigned short len) |
Get initialization data from the wiimote. More... | |
Handles device I/O (non-OS specific).
void wiiuse_handshake | ( | struct wiimote_t * | wm, |
byte * | data, | ||
unsigned short | len | ||
) |
Get initialization data from the wiimote.
When first called for a wiimote_t structure, a request is sent to the wiimote for initialization information. This includes factory set accelerometer data. The handshake will be concluded when the wiimote responds with this data.