dafta / DeckMTP

A DeckyLoader plugin for enabling MTP transfer over USB
https://deckbrew.xyz
Other
79 stars 5 forks source link

[Enhancement/feature request] USB redirect #19

Open DanHolli opened 5 months ago

DanHolli commented 5 months ago

The controller for the Deck internally connects as a USB device. Would it be possible to forward the connection to the USB similar to USBip?

dafta commented 5 months ago

It's already possible to use USBIP over a cable if you use my script to tether the Deck's internet connection, here.

As for forwarding the controller directly, it's theoretically possible, and Valve is definitely working on it, as there is a program on the Deck designed specifically for this, called usbhid_passthrough or something similar. I have tested this program, and while it works, it has some issues. For instance, it works perfectly if you don't turn on Steam on the PC, and you use the default controller configuration. However, as soon as you turn on Steam and it tries taking control of the Steam Deck controller, the controller crashes and stops working.

Valve is definitely working on it, though. The program is receiving updates, as recently as a week ago.

DanHolli commented 5 months ago

That is fantastic! Maybe a bit of community work can help speed up that development? 😁