|
wiiuse
|
Classic controller expansion device. More...
#include "classic.h"#include "dynamics.h"#include "events.h"#include <stdlib.h>#include <string.h>
Macros | |
| #define | HANDSHAKE_BYTES_USED 12 |
| Handle the handshake data from the classic controller. More... | |
Functions | |
| int | classic_ctrl_handshake (struct wiimote_t *wm, struct classic_ctrl_t *cc, byte *data, unsigned short len) |
| void | classic_ctrl_disconnected (struct classic_ctrl_t *cc) |
| The classic controller disconnected. More... | |
| void | classic_ctrl_event (struct classic_ctrl_t *cc, byte *msg) |
| Handle classic controller event. More... | |
Classic controller expansion device.
| #define HANDSHAKE_BYTES_USED 12 |
Handle the handshake data from the classic controller.
| cc | A pointer to a classic_ctrl_t structure. |
| data | The data read in from the device. |
| len | The length of the data block, in bytes. |
1.8.13