From 25b7942de2053c74abf65a368ead4dbf55bc6dca Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 3 Feb 2009 23:05:31 +0000 Subject: [PATCH] real Wiimote connects on linux (thanks sonic1!) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2097 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp b/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp index a3f4a7c14c..5297b7cb5f 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp @@ -441,8 +441,9 @@ int Initialize() wiiuse_set_ir_position(g_WiiMotesFromWiiUse[0], WIIUSE_IR_ABOVE); // I don't seem to need wiiuse_connect() - //int Connect = wiiuse_connect(g_WiiMotesFromWiiUse, MAX_WIIMOTES); - //Console::Print("Connected: %i\n", Connect); + // Linux needs it + int Connect = wiiuse_connect(g_WiiMotesFromWiiUse, MAX_WIIMOTES); + Console::Print("Connected: %i\n", Connect); // If we are connecting from the config window without a game running we flash the lights if (!g_EmulatorRunning) FlashLights(true);