X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fmupen64plus-core%2Fsrc%2Fplugin%2Fdummy_input.h;fp=source%2Fmupen64plus-core%2Fsrc%2Fplugin%2Fdummy_input.h;h=0ece52ce60733ed61f50d70f41be2a1d84248529;hb=451ab91e3827a6384981b3300e2a7000d2eaba58;hp=0000000000000000000000000000000000000000;hpb=a2ab25365b5b0dddbee476d695d8a31151407581;p=mupen64plus-pandora.git diff --git a/source/mupen64plus-core/src/plugin/dummy_input.h b/source/mupen64plus-core/src/plugin/dummy_input.h new file mode 100644 index 0000000..0ece52c --- /dev/null +++ b/source/mupen64plus-core/src/plugin/dummy_input.h @@ -0,0 +1,42 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Mupen64plus - dummy_input.h * + * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * + * Copyright (C) 2009 Richard Goedeken * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +#if !defined(DUMMY_INPUT_H) +#define DUMMY_INPUT_H + +#include "api/m64p_plugin.h" + +extern m64p_error dummyinput_PluginGetVersion(m64p_plugin_type *PluginType, int *PluginVersion, + int *APIVersion, const char **PluginNamePtr, int *Capabilities); +extern void dummyinput_InitiateControllers (CONTROL_INFO ControlInfo); +extern void dummyinput_GetKeys(int Control, BUTTONS * Keys ); +extern void dummyinput_ControllerCommand(int Control, unsigned char *Command); +extern void dummyinput_GetKeys(int Control, BUTTONS * Keys); +extern void dummyinput_InitiateControllers(CONTROL_INFO ControlInfo); +extern void dummyinput_ReadController(int Control, unsigned char *Command); +extern int dummyinput_RomOpen(void); +extern void dummyinput_RomClosed(void); +extern void dummyinput_SDL_KeyDown(int keymod, int keysym); +extern void dummyinput_SDL_KeyUp(int keymod, int keysym); + +#endif /* DUMMY_INPUT_H */ + +