diff options
| author | nakeee <nakeee@gmail.com> | 2009-02-03 23:05:31 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-02-03 23:05:31 +0000 |
| commit | 25b7942de2053c74abf65a368ead4dbf55bc6dca (patch) | |
| tree | 94bda56abd82e75906467de6d03c9313013f6369 /Source | |
| parent | c1d47f1c2917d6822d4c1fab5bf8b248fe5fcee6 (diff) | |
real Wiimote connects on linux (thanks sonic1!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2097 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_Wiimote/Src/wiimote_real.cpp | 5 |
1 files 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); |
