mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00: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
1 changed files with 3 additions and 2 deletions
|
@ -441,8 +441,9 @@ int Initialize()
|
||||||
wiiuse_set_ir_position(g_WiiMotesFromWiiUse[0], WIIUSE_IR_ABOVE);
|
wiiuse_set_ir_position(g_WiiMotesFromWiiUse[0], WIIUSE_IR_ABOVE);
|
||||||
|
|
||||||
// I don't seem to need wiiuse_connect()
|
// I don't seem to need wiiuse_connect()
|
||||||
//int Connect = wiiuse_connect(g_WiiMotesFromWiiUse, MAX_WIIMOTES);
|
// Linux needs it
|
||||||
//Console::Print("Connected: %i\n", Connect);
|
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 we are connecting from the config window without a game running we flash the lights
|
||||||
if (!g_EmulatorRunning) FlashLights(true);
|
if (!g_EmulatorRunning) FlashLights(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue