DuoStream / Duo

An HDR-compatible multiseat streaming solution based around RdpWrap, Sunshine, Moonlight, and a variety of custom driver and library patches
301 stars 1 forks source link

XBOX controller stop working on host when starts DUO #111

Open dgrouev opened 2 months ago

dgrouev commented 2 months ago

Hello, i am using Patreon DUO version 1.4.4. When my XBOX controller is connected to the host and DUO starts then instantly my XBOX controller stops working. It is still showing up as a connected. I`ve tried from Troubleshooting guide but nothings works. Any ideas?

Black-Seraph commented 1 week ago

This is most likely linked to the way Duo jails input devices.

There's two parts to it, one that uses a timing-glitch in ViGEmBus to jail virtual devices into the remote sessions they belong into by setting the session ID device attribute right as the device spawns, which works fairly well, and a second piece that that does the same for console session devices (aka. physical devices), which is much less reliable due to the fact that the arrival of said devices can't be predicted.

If I had to explain it in layman's terms...

The proper solution to all of this would be to implement a HID filter driver, but I lack the required access to Microsoft's hardware developer dashboard to double-sign my own drivers, which means I can't actually deploy such a driver to regular users without first forcing them into test-signing mode and letting the driver run unsigned.

But running unsigned drivers isn't an option either, as that will trigger almost all Anti-Cheat systems out there.