-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can UMU-Proton handle Steam Input? #117
Comments
Nevermind. The problem is not related to UMU-Proton. It's related to Fedora. |
Playstation Controllers don't work on Elden Ring. On Steam, if I enable Steam Input, the controller works. |
I have a different controller issue that might or might not also be related to Steam input: When I run Horizon Forbidden West through Lutris and umu, the game seems to see my Dualsense controller as a DS and an Xbox controller at the same time; the glyphs keep alternating between the two several times per second. At the same time the axes and buttons are all messed up. For example the triggers control the “right stick” movement aka looking around. Adding the game as a non-Steam game to Steam, with Steam Input disabled, makes the controller work properly. |
In the future, the team will explore how to best handle this case whether that is patching wine or a custom solution, and it should be high in priority next release. |
Nice! For now I'm using SC Controller to emulate a Xbox controller. |
Steam Input is non-free software part of Steam (goddammit valve). Goldberg (free software Steam library implementation which has experimental steam input support) might help here if the game truly requires it or has special/exclusive features with it? (thankfully xboxdrv/sc-controller should work decently for most games which have xbox support) |
Hey, I have similar issues on some games. I recently found this repo : https://github.com/ShadowBlip/InputPlumber |
There should be two more possible workarounds...
or
|
What if you completely disable any Steam Input? |
@cinnamonmatexfce on Steam, the only way to make the Playstation controller on Elden Ring is by enabling Steam Input. |
Strange... afaik Wine (and thus Proton) should handle presenting Xbox Controller (via its internal XInput wrapper) by itself, so - in your case - no external programs should be needed at all. 🧐 |
I'm considering InputPlumber as a solution for this problem. It'll require systems that implement the DBus API and depend on For those interested, see ShadowBlip/InputPlumber#202 for more details. |
Since the daemon must already be enabled by the user beforehand to use, I'm not too sure if it makes sense for it to be a umu property as it can't simply just start the daemon if we care about users' security. But we could support this usage. For instance what we could do is try to connect to it and warn the user that the InputPlumber daemon isn't enabled. At minimum, umu-launcher can do this. But additionally, we could provide tools for clients to standardize the way clients connect to the service. This would also prevent them having to write DBus code and may also support systems that do not implement the DBus API as the tools will use zbus. Though, I think |
It may not need all that. In the end InputPlumber simply creates a fake input device that the real one pipes input into. As long as that fake device shows up to flatpak then flatpak should be able to use it. No need for inputplumber to run inside flatpak, but inputplumber would need to be running on the system. |
Another approach could be changing the registry of the prefix, like this:
I tested with a couple of games using a PS4 controller and it works fine. |
Maybe there can be an environmental variable where we can disable HIDRaw like PROTON_FORCE_SDL. Just makes it easier to switch between the 2 |
For example:
I have a PS4 controller.
On Steam, if the game natively supports the controller and I disable Steam Input, the buttons in the game appear as Playstation buttons. If I enable Steam Input, the buttons in the game appear as Xbox buttons.
Outside of Steam, using UMU-Proton, the buttons always appear as Xbox buttons, as if Steam Input is always enabled.
Is there any way to enable/disable Steam Input using UMU-Proton outside of Steam?
Edit:
The Xbox buttons are only being shown on Fedora.
On Arch they are being shown as Playstation buttons.
The text was updated successfully, but these errors were encountered: