catch up with upsteam
[libogc.git] / wiiuse / wiiboard.h
blob807a34cd88bde7630f5e341fe19b8cf01c1663e3
1 /*
2 * wiiuse
4 * Written By:
5 * Michael Laforest < para >
6 * Email: < thepara (--AT--) g m a i l [--DOT--] com >
8 * Copyright 2006-2007
10 * This file is part of wiiuse.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
25 * $Header: /cvsroot/devkitpro/libogc/wiiuse/wiiboard.h,v 1.1 2008/05/08 09:42:14 shagkur Exp $
29 /**
30 * @file
31 * @brief Wii board expansion device.
34 #ifndef WII_BOARD_H_INCLUDED
35 #define WII_BOARD_H_INCLUDED
37 #include "wiiuse_internal.h"
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
43 int wii_board_handshake(struct wiimote_t* wm, struct wii_board_t* wb, ubyte* data, uword len);
45 void wii_board_disconnected(struct wii_board_t* wb);
47 void wii_board_event(struct wii_board_t* wb, ubyte* msg);
49 #ifdef __cplusplus
51 #endif
53 #endif