- fixed STOP_TRANS response token read.
[libogc.git] / wiiuse / classic.h
blob8ae62583f40d289ddd83c551a234a85c133e7cdf
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: /lvm/shared/ds/ds/cvs/devkitpro-cvsbackup/libogc/wiiuse/classic.h,v 1.1 2008-05-08 09:42:14 shagkur Exp $
29 /**
30 * @file
31 * @brief Classic controller expansion device.
34 #ifndef CLASSIC_H_INCLUDED
35 #define CLASSIC_H_INCLUDED
37 #include "wiiuse_internal.h"
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
43 int classic_ctrl_handshake(struct wiimote_t* wm, struct classic_ctrl_t* cc, ubyte* data, uword len);
45 void classic_ctrl_disconnected(struct classic_ctrl_t* cc);
47 void classic_ctrl_event(struct classic_ctrl_t* cc, ubyte* msg);
49 #ifdef __cplusplus
51 #endif
53 #endif // CLASSIC_H_INCLUDED