dolphin
dolphin copied to clipboard
WIP: WiimoteReal: Attempt to fix M+ detection problems.
This is an attempt to fix: https://bugs.dolphin-emu.org/issues/7444
MotionPlus detection sometimes fails in Real Wii Remote mode for the same reason speaker data doesn't work well. Not enabling "sniff mode" keeps the remote in a 100hz (vs 200hz) input loop. MotionPlus initialization quickly cycles the extension port from connected->disconnected->connected. At 100hz that signal is sometimes missed.
This hack-fix requests two status reports when it sees a game send the M+ activation signal and overwrites the first response to show the "disconnected" state.
I can almost never reproduce this issue myself but having just dealt with M+ in PR #8575 I can see how a trick like this might be needed.
Here's one report that it works around the problem. Yay. https://www.reddit.com/r/DolphinEmulator/comments/iwa9h2/how_do_i_get_dolphin_to_recognize_motion_plus/
Just curious, what issue is occurring with M+ detection?
@iwubcode I'll update the PR description with some more info.
Considering how simple this is, is there any reason not to merge it?
Considering how simple this is, is there any reason not to merge it?
I was hoping to get some better confirmations that it actually successfully works around the problem.
I used to be able to reproduce the problem, I'll give it a go.
This PR is dead. It's very hacky and it didn't seem to help for people.