mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
real Wiimote connects on linux (thanks sonic1!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2097 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c1d47f1c29
commit
25b7942de2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user