nefarius / DsHidMini

Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers
https://docs.nefarius.at/projects/DsHidMini/
BSD 3-Clause "New" or "Revised" License
1.27k stars 55 forks source link

Adds workarounds for wireless quirks of various controller models #364

Closed nefarius closed 6 months ago

nefarius commented 6 months ago

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 😁