New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BTEmu/Wiimote: Fixes and Cleanups. #8985
Conversation
2c91e70
to
a06fb15
Compare
|
Nice work! Could be placebo but Bully Scholarship Edition seems to load a lot more quickly now with emulated Wiimotes when compared with master (though there's likely still an emulation issue with this game as GPU usage stays at 100% while the initial loading occurs) |
2d9d6f5
to
93632bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, untested.
632536e
to
e1c18f3
Compare
e1c18f3
to
17ba1b5
Compare
1a9dd1a
to
1e29e99
Compare
1e29e99
to
0ad123b
Compare
|
I tested this out last night to make sure I could connect my controllers still and it worked. |
Cleaned up L2CAP channel establishment in
WiimoteDevice.When the ACL connection originates from the Wii it will establish HID channel connections but our
WiimoteDevicewas simultaneously doing so causing problems.ACL connection establishment is less hacky now as well.
Cleaned up our "fake" inquiry response in BTEmu.
There were a few issues there.
Now only configured remotes will respond to an inquiry.
All of that fixes Wii remote reconnection in the home menu (issue: https://bugs.dolphin-emu.org/issues/11974)

Reconciled some duplicate HID logic in Emu and Real Wiimote code.
Introduced a
HIDWiimoteinterface forWiimoteDeviceto talk to either a real or emulated source.General cleanups in related code.
Eliminated remnants of the Wii Remote "Plugin".
Advanced save state version due to cleanups.
Any TODOs I've added are things I plan to address in later PRs.
I've already made this PR too big.