mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Introducing WM_DEVICECHANGE win32callback.
No need to press the "refresh wiimotes" button on pair up anymore, checking the extended pair up box(still experimental) allows u to pair and hook up the wiimote while being ingame. You still need to do the ALT+F5/F6/F7/F8 connect, but you wont need to press the pair up button + refresh button anymore, feel free to test it, its not perfect yes. Just press 1+2 on your Wiimote to pair it up ingame(you need to check the extended pair up box for that feature). PS I hope I didnt break nonwin32 builds, I gave my best however. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5413 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -32,7 +32,9 @@ namespace WiiMoteReal
|
||||
{
|
||||
|
||||
int Initialize();
|
||||
#ifdef _WIN32
|
||||
int WiimotePairUp(bool unpair);
|
||||
#endif
|
||||
|
||||
void Allocate();
|
||||
void DoState(PointerWrap &p);
|
||||
@ -64,6 +66,13 @@ bool IRDataOK(struct wiimote_t* wm);
|
||||
extern bool g_RunTemporary;
|
||||
extern int g_RunTemporaryCountdown;
|
||||
extern u8 g_EventBuffer[32];
|
||||
#ifdef _WIN32
|
||||
extern Common::Thread* g_AutoPairUpInvisibleWindow;
|
||||
extern Common::Thread* g_AutoPairUpMonitoring;
|
||||
extern Common::Event g_StartAutopairThread;
|
||||
THREAD_RETURN PairUp_ThreadFunc(void* arg);
|
||||
THREAD_RETURN RunInvisibleMessageWindow_ThreadFunc(void* arg);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}; // WiiMoteReal
|
||||
|
Reference in New Issue
Block a user