root/branches/dev/wminput/c_plugin.h

Revision 124, 1.4 kB (checked in by dsmith, 2 years ago)

wminput plugin refactoring

Line 
1 /* Copyright (C) 2007 L. Donnie Smith <cwiid@abstrakraft.org>
2  *
3  *  This program is free software; you can redistribute it and/or modify
4  *  it under the terms of the GNU General Public License as published by
5  *  the Free Software Foundation; either version 2 of the License, or
6  *  (at your option) any later version.
7  *
8  *  This program is distributed in the hope that it will be useful,
9  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  *  GNU General Public License for more details.
12  *
13  *  You should have received a copy of the GNU General Public License
14  *  along with this program; if not, write to the Free Software
15  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
16  *
17  *  ChangeLog:
18  *  2007-06-05 L. Donnie Smith <cwiid@abstrakraft.org>
19  *  * Initial ChangeLog
20  */
21
22 #ifndef C_PLUGIN_H
23 #define C_PLUGIN_H
24
25 int c_init(void);
26 int c_wiimote(cwiid_wiimote_t *wiimote);
27 void c_deinit(void);
28 int c_plugin_open(struct plugin *plugin, char *dir);
29 void c_plugin_close(struct plugin *plugin);
30 int c_plugin_init(struct plugin *plugin, int id);
31 int c_plugin_exec(struct plugin *plugin, int mesg_count,
32                    union cwiid_mesg mesg[]);
33 int c_plugin_param_int(struct plugin *plugin, int i, int value);
34 int c_plugin_param_float(struct plugin *plugin, int i, float value);
35
36 #endif
37
Note: See TracBrowser for help on using the browser.