Skip to content
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

Adds workarounds for wireless quirks of various controller models #364

Merged
merged 7 commits into from
May 25, 2024

Conversation

nefarius
Copy link
Owner

@nefarius nefarius commented May 25, 2024

These changes fix compatibility with certain aftermarket models like the Retro Fighters Defender BT Edition that would otherwise drop connection if the SIXAXIS "magic packet" feature report is sent to them.

The way this is achieved is by first setting up the HID Interrupt IN reader, send an initial output report over HID Control, then way a second, check if at least one input report made it in by checking the battery state and if not, send the SET_REPORT, otherwise omit it.

This is not enough to make all devices in my new stash stay connected but it sure is a big step in the right direction 😁

@nefarius nefarius added enhancement New feature or request Bluetooth Bluetooth-related (wireless) labels May 25, 2024
@nefarius nefarius added this to the Version 3 milestone May 25, 2024
@nefarius nefarius self-assigned this May 25, 2024
@nefarius nefarius merged commit ac181c7 into master May 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bluetooth Bluetooth-related (wireless) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant