jgeumlek / MoltenGamepad

Flexible Linux input device translator, geared for gamepads
MIT License
280 stars 42 forks source link

[Feature Request / Idea] Wrap moltengamepad as decky loader plugin for usage with the steam deck #123

Open scorpion81 opened 1 year ago

scorpion81 commented 1 year ago

The decky loader system:

https://decky.xyz/

This would make things usually being used in desktop mode easily usable on a steam deck from the game mode as well. And it is way, way easier to install on the deck since its kinda a readonly system, which uses flatpak and appimage as their main sources of installing things.

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.

Edit: there is already a plugin to manage real external controllers. This could maybe extended to support virtual controllers via moltengamepad.

https://github.com/alphamercury/ControllerTools/issues/37