Since SVN4730 my real Wiimote was not working anymore. So I decided to debug the thing myself and found the following simple workaraund:
In the file "wiimote_real.cpp":
In the function : THREAD_RETURN ReadWiimote_ThreadFunc(void* arg)
I changed the following line:
old: //if(g_Config.bUseRealWiimote && !g_RunTemporary)
new: if(!g_RunTemporary)
for (int i = 0; i < g_NumberOfWiiMotes; i++)
because somehow when ever I start a game "g_Config.bUseRealWiimote" is set to false. I don't know why. With this I can play again and have/had no sideeffects so far.
In the file "wiimote_real.cpp":
In the function : THREAD_RETURN ReadWiimote_ThreadFunc(void* arg)
I changed the following line:
old: //if(g_Config.bUseRealWiimote && !g_RunTemporary)
new: if(!g_RunTemporary)
for (int i = 0; i < g_NumberOfWiiMotes; i++)
because somehow when ever I start a game "g_Config.bUseRealWiimote" is set to false. I don't know why. With this I can play again and have/had no sideeffects so far.