wiiuse
motion_plus.h
Go to the documentation of this file.
1 /*
2  * wiiuse
3  *
4  * Written By:
5  * Michal Wiedenbauer < shagkur >
6  * Dave Murphy < WinterMute >
7  * Hector Martin < marcan >
8  * Radu Andries <admiral0>
9  *
10  * Copyright 2009
11  *
12  * This file is part of wiiuse and fWIIne.
13  *
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program. If not, see <http://www.gnu.org/licenses/>.
26  *
27  * $Header$
28  *
29  */
35 #ifndef MOTION_PLUS_H_INCLUDED
36 #define MOTION_PLUS_H_INCLUDED
37 
38 #include "wiiuse_internal.h"
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
46 void motion_plus_disconnected(struct motion_plus_t *mp);
47 
48 void motion_plus_event(struct motion_plus_t *mp, int exp_type, byte *msg);
49 
50 void wiiuse_motion_plus_handshake(struct wiimote_t *wm, byte *data, unsigned short len);
51 
52 void wiiuse_probe_motion_plus(struct wiimote_t *wm);
53 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif
Main Wiimote device structure.
Definition: wiiuse.h:751
General internal wiiuse stuff.
Motion Plus expansion device.
Definition: wiiuse.h:585