jfernandez / ControllerTools

Game controller plugin for the Steam Deck
GNU General Public License v3.0
49 stars 3 forks source link

Feature Request: Add and manage virtual controllers #37

Open scorpion81 opened 10 months ago

scorpion81 commented 10 months ago

There is already a desktop linux solution for virtual controllers. https://github.com/jgeumlek/MoltenGamepad

Could this possibly be wrapped inside a decky loader plugin in order to be usable on the deck from the game mode ? Or more specifically, could the Controller tools get for example a "+" button to add virtual controllers (and of course, choosing which type (xbox, ps, switch, steam and maybe others if necessary) and a way to manage or remove those controllers again.

Perhaps it could even replace the controller functionality valve removed some time ago on the deck. Those are controller related options in the deck's version of the steam client. In the windows version those "general controller options" are still present. I am not sure tho whether those allow to "pretend" a certain type of controller is attached. They worked like this:

https://www.techy.how/tutorials/steam-setup-any-controller

With this, you possibly can "fix" games which dont have a proper display of the correct button prompts. and without needing to attach a real external controller.

For example, in some games like red faction guerilla remarstered or mafia definitive edition you get messed up controller prompts (maybe some fallback) whilst using the deck in handheld mode. IF you connect an external controller, atleast in red faction guerilla you get the according prompts.