mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Moved all relevant code into the Wiimote plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@518 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
de9b103524
commit
f75fafc1ce
12 changed files with 611 additions and 386 deletions
|
@ -1,58 +0,0 @@
|
|||
#include <wx/aboutdlg.h>
|
||||
|
||||
#include "pluginspecs_wiimote.h"
|
||||
|
||||
SWiimoteInitialize g_WiimoteInitialize;
|
||||
#define VERSION_STRING "0.1"
|
||||
|
||||
|
||||
void GetDllInfo (PLUGIN_INFO* _PluginInfo)
|
||||
{
|
||||
_PluginInfo->Version = 0x0100;
|
||||
_PluginInfo->Type = PLUGIN_TYPE_WIIMOTE;
|
||||
#ifdef DEBUGFAST
|
||||
sprintf(_PluginInfo->Name, "Wiimote Test (DebugFast) " VERSION_STRING);
|
||||
#else
|
||||
#ifndef _DEBUG
|
||||
sprintf(_PluginInfo->Name, "Wiimote Test " VERSION_STRING);
|
||||
#else
|
||||
sprintf(_PluginInfo->Name, "Wiimote Test (Debug) " VERSION_STRING);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void DllAbout(HWND _hParent)
|
||||
{
|
||||
wxAboutDialogInfo info;
|
||||
info.AddDeveloper(_T("masken (masken3@gmail.com)"));
|
||||
info.SetDescription(_T("Wiimote test plugin"));
|
||||
wxAboutBox(info);
|
||||
}
|
||||
|
||||
void DllConfig(HWND _hParent)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void Wiimote_Initialize(SWiimoteInitialize* _pWiimoteInitialize)
|
||||
{
|
||||
if (_pWiimoteInitialize == NULL)
|
||||
return;
|
||||
|
||||
g_WiimoteInitialize = *_pWiimoteInitialize;
|
||||
}
|
||||
|
||||
void Wiimote_DoState(unsigned char **ptr, int mode) {
|
||||
}
|
||||
|
||||
void Wiimote_Shutdown(void)
|
||||
{
|
||||
}
|
||||
|
||||
void Wiimote_Output(const void* _pData, u32 _Size) {
|
||||
}
|
||||
|
||||
unsigned int Wiimote_GetAttachedControllers() {
|
||||
return 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue