RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

Steam Input: Does not work in Wayland?

Open Lazorne opened this issue 1 year ago • 4 comments

From Discord:

CyberGlitterhoof: Am I crazy or does steam input not work at all in retrodeck on Wayland? Other games work fine in Wayland. Switching to x11 has it working fine in retrodeck, turning off steam input in Wayland lets me use the controller on retrodeck

Look into

  • Wayland + Steam Flatpak
  • Wayland + Steam none flatpak

Lazorne avatar Dec 30 '23 08:12 Lazorne

Yeah, to clarify I was seeing this on steam installed via RPM on Fedora (technically layered on silverblue, but nearly the same thing)

Nitrousoxide avatar Dec 30 '23 16:12 Nitrousoxide

So an interesting update.

Toggling this "enable steam input for Xbox controllers" button here does allow some input to work in Retrodeck (and I assume other flatpaks in wayland). But it doesn't seem to follow the controller layout. It also popped up a wayland toast asking for permission to control a remote desktop the first time I did it on a session and the icon in the icon bar in the upper right indicating a remote desktop was ongoing.

image

image

image

Nitrousoxide avatar Jan 02 '24 15:01 Nitrousoxide

Yes you do need to enable Steam Input for the controller types for it to work. https://retrodeck.readthedocs.io/en/latest/wiki_howto_faq/enable-controllers-steam/

But can you find the RetroDECK profile at all? Or is Steam confusing it for a Desktop Controller Profile?

Lazorne avatar Jan 03 '24 08:01 Lazorne

I have one of the new beta profiles set (which work fine in X11 BTW) for Retrodeck

image

image

I can move around in ES-DE just fine and select stuff or use start/select. Once I enter an emulator all that goes out the window. Like in the PSP emulator start becomes "esc". No buttons seems to work in the DS emulator, though clicking both thumbsticks brings up the steam virtual keyboard. Using the actual physical buttons on my keyboard like "x" does work for the ds emulator. And "Select + right thumbstick" works for moving around the cursor on the bottom touch pad. But the face buttons don't work at all. I can move the characters around with the left thumbstick okay.

It's kind of a jumbled mess as to what works or doesn't.

Edit: Actually I spoke too soon. "B" doesn't work in ES-DE to back out of menus, but "A" does work for selecting them. "X" and "Y" seem to be the triggers?

Going to "test device inputs" in the steam settings doesn't show the xbox controller being mapped crazy when I have "enable steam input for xbox controllers". It reacts to the buttons like I expect.

Nitrousoxide avatar Jan 03 '24 13:01 Nitrousoxide