some linux wiimote stuff

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1213 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-11-19 10:22:29 +00:00
parent 76ca6ac031
commit ec19b6b024
7 changed files with 72 additions and 821 deletions

View File

@ -20,8 +20,8 @@
#include "wiiuse.h"
#include <queue>
#include "common.h"
#include "thread.h"
#include "Common.h"
#include "Thread.h"
#include "wiimote_hid.h"
#include "EmuMain.h"
@ -41,8 +41,11 @@ namespace WiiMoteReal
//******************************************************************************
class CWiiMote;
#ifdef _WIN32
DWORD WINAPI ReadWiimote_ThreadFunc(void* arg);
#else
void* ReadWiimote_ThreadFunc(void* arg);
#endif
//******************************************************************************
// Variable declarations
//******************************************************************************
@ -267,7 +270,11 @@ namespace WiiMoteReal
}
}
#ifdef _WIN32
DWORD WINAPI ReadWiimote_ThreadFunc(void* arg)
#else
void *ReadWiimote_ThreadFunc(void* arg)
#endif
{
while (!g_Shutdown)
{