RetroArch
nunchuk.h
Go to the documentation of this file.
1 /* This source as presented is a modified version of original wiiuse for use
2  * with RetroArch, and must not be confused with the original software. */
3 
4 #ifndef __NUNCHUK_H__
5 #define __NUNCHUK_H__
6 
7 #include "wiiuse_internal.h"
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 int nunchuk_handshake(struct wiimote_t* wm, struct nunchuk_t* nc, ubyte* data, uword len);
14 void nunchuk_disconnected(struct nunchuk_t* nc);
15 void nunchuk_event(struct nunchuk_t* nc, ubyte* msg);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif
Wiimote structure.
Definition: wiiuse.h:594
GLenum GLsizei len
Definition: glext.h:7389
Definition: ibxm.h:9
General internal wiiuse stuff.
int nunchuk_handshake(struct wiimote_t *wm, struct nunchuk_t *nc, ubyte *data, uword len)
Definition: nunchuk.c:38
static const unsigned char msg[]
Definition: ccm.c:375
Nunchuk expansion device.
Definition: wiiuse.h:438
void nunchuk_event(struct nunchuk_t *nc, ubyte *msg)
Handle nunchuk event.
Definition: nunchuk.c:120
unsigned char ubyte
Definition: wiiuse.h:187
unsigned short uword
Definition: wiiuse.h:189
void nunchuk_disconnected(struct nunchuk_t *nc)
The nunchuk disconnected.
Definition: nunchuk.c:108