| 1 | /* Copyright (C) 2007 L. Donnie Smith <donnie.smith@gatech.edu> |
|---|
| 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 | */ |
|---|
| 18 | |
|---|
| 19 | #ifndef PY_PLUGIN_H |
|---|
| 20 | #define PY_PLUGIN_H |
|---|
| 21 | |
|---|
| 22 | int py_init(void); |
|---|
| 23 | int py_wiimote(cwiid_wiimote_t *wiimote); |
|---|
| 24 | void py_wiimote_deinit(void); |
|---|
| 25 | void py_deinit(void); |
|---|
| 26 | int py_plugin_open(struct plugin *plugin, char *dir); |
|---|
| 27 | void py_plugin_close(struct plugin *plugin); |
|---|
| 28 | int py_plugin_init(struct plugin *plugin, int id); |
|---|
| 29 | int py_plugin_exec(struct plugin *plugin, int mesg_count, |
|---|
| 30 | union cwiid_mesg mesg[]); |
|---|
| 31 | int py_plugin_param_int(struct plugin *plugin, int i, int value); |
|---|
| 32 | int py_plugin_param_float(struct plugin *plugin, int i, float value); |
|---|
| 33 | |
|---|
| 34 | #endif |
|---|