dolphin/Source/Core/Core
Léo Lam d9a9e34994 WiimoteReal: Disconnect the Wiimote if IOWrite fails
This is intended to make reconnecting Wiimotes easier with a DolphinBar.
Unfortunately, this change isn't enough as it doesn't always catch
disconnections for Wiimotes connected with a DolphinBar.

But it's better than nothing and eventually a disconnection will be
detected when something tries to write to the Wiimote, instead of never.

There is no other solution as the DolphinBar always exposes 4 HIDs even
when the associated Wiimotes are not connected.

We could try to detect this using the fake input reports sent by the
DolphinBar, but this only works for the first HID (probably because of
a bug in the firmware?), so this method is not an option.
2016-10-03 11:41:23 +02:00
..
Boot PatchEngine/GeckoCode: Heuristic stack checks 2016-10-03 16:27:42 +11:00
Debugger PPCDebugInterface: Fix ToggleMemcheck 2016-09-15 13:08:48 +10:00
DSP Reorganise a ton of logs level 2016-10-01 15:50:28 -04:00
FifoPlayer Support for dynamic BAT modification (dynamic-bat). 2016-09-06 08:43:22 +02:00
HLE Merge pull request #4216 from EmptyChaos/geckocodes-cleanup 2016-10-02 22:37:51 -07:00
HW WiimoteReal: Disconnect the Wiimote if IOWrite fails 2016-10-03 11:41:23 +02:00
IPC_HLE Merge pull request #4244 from leoetlino/stm-shutdown 2016-10-02 20:25:13 -07:00
PowerPC Merge pull request #4216 from EmptyChaos/geckocodes-cleanup 2016-10-02 22:37:51 -07:00
ActionReplay.cpp CheatManager/ISOProperties: Refactor ActionReplay tabs as a class 2016-08-31 14:32:12 +10:00
ActionReplay.h CheatManager/ISOProperties: Refactor ActionReplay tabs as a class 2016-08-31 14:32:12 +10:00
Analytics.cpp Suppress deprecation warning. 2016-06-26 00:49:51 -04:00
Analytics.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
ARDecrypt.cpp CheatManager/ISOProperties: Refactor ActionReplay tabs as a class 2016-08-31 14:32:12 +10:00
ARDecrypt.h CheatManager/ISOProperties: Refactor ActionReplay tabs as a class 2016-08-31 14:32:12 +10:00
BootManager.cpp Force disable WC24 standby mode 2016-10-01 13:06:04 +02:00
BootManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CMakeLists.txt WiimoteReal: Add a hidapi IO implementation 2016-10-03 11:41:23 +02:00
ConfigManager.cpp Merge pull request #4119 from mbc07/drop-4.0-ini-hack 2016-10-02 21:23:50 -07:00
ConfigManager.h Merge pull request #4117 from JosJuice/wx-language-code 2016-10-02 21:23:36 -07:00
Core.cpp HLE: Differentiate Address hooks from Symbol hooks 2016-10-03 16:27:42 +11:00
Core.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
Core.vcxproj IPC_HLE/stm: Separate header and implementation 2016-10-01 13:06:04 +02:00
Core.vcxproj.filters IPC_HLE/stm: Separate header and implementation 2016-10-01 13:06:04 +02:00
CoreTiming.cpp CoreTiming: Guarantee FIFO processing of timed events 2016-09-08 19:46:42 +10:00
CoreTiming.h CoreTiming: Document initial startup behavior 2016-09-03 14:55:45 +10:00
DSPEmulator.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
DSPEmulator.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
ec_wii.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
ec_wii.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
GeckoCode.cpp GeckoCode: Provide operator== and operator!= overloads 2016-10-03 02:32:43 -04:00
GeckoCode.h GeckoCode: Provide operator== and operator!= overloads 2016-10-03 02:32:43 -04:00
GeckoCodeConfig.cpp Fix building with PCH disabled. 2016-08-07 01:18:59 -05:00
GeckoCodeConfig.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
Host.h VideoCommon: Drop GetConfigName. 2016-06-26 12:34:59 +02:00
HotkeyManager.cpp [Hotkey] Added custom textures toggle 2016-08-19 23:14:56 -05:00
HotkeyManager.h [Hotkey] Added custom textures toggle 2016-08-19 23:14:56 -05:00
MachineContext.h Add a context definition for OpenBSD amd64. 2016-07-17 22:15:14 -06:00
MemoryWatcher.cpp Core: Change CoreTiming event key from int to EventType* 2016-09-03 14:55:44 +10:00
MemoryWatcher.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
MemTools.cpp Add a context definition for OpenBSD amd64. 2016-07-17 22:15:14 -06:00
MemTools.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
Movie.cpp Merge pull request #4176 from phire/fix_wii_input_display_string 2016-10-02 20:59:30 -07:00
Movie.h Move code into Movie::SignalDiscChange 2016-08-21 12:51:14 +02:00
NetPlayClient.cpp Wiimote netplay: Check the reporting mode instead of the size 2016-08-14 19:25:00 +02:00
NetPlayClient.h Wiimote netplay: Check the reporting mode instead of the size 2016-08-14 19:25:00 +02:00
NetPlayProto.h Add md5 testing to netplay 2016-07-16 22:48:46 +02:00
NetPlayServer.cpp Merge pull request #3588 from Aestek/feature/improve-netplay-dialog 2016-07-26 02:12:22 +02:00
NetPlayServer.h Fix bogus UPnP requests 2016-07-23 20:04:07 +02:00
PatchEngine.cpp GeckoCode: Save installation state to savestates 2016-10-03 16:27:42 +11:00
PatchEngine.h PatchEngine: Handle MSR more cleanly 2016-10-03 16:27:42 +11:00
State.cpp GeckoCode: Save installation state to savestates 2016-10-03 16:27:42 +11:00
State.h DolphinWX: Don't translate OSD messages 2016-08-10 18:18:25 +02:00