ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 174 forks source link

Order of Steam Input controllers as exposed to non-steam games is incorrect #10830

Open Stewmath opened 7 months ago

Stewmath commented 7 months ago

Your system information

Please describe your issue in as much detail as possible:

I'm unsure if this is "normal" behavior, but it's very peculiar to me - the order of controllers in Steam Input doesn't seem to line up with how they're detected by applications.

UPDATE: I'm observing this in the emudeck (non-steam) version of RetroArch, but NOT in the steam version of retroarch. I'm also seeing this behavior in dolphin installed via emudeck.

As an example, when using RetroArch on my steam deck:

This has the following bizarre implications:

Expected behavior

The order of controllers should match the order shown in the "Reorder Controller" window, that is, the controller that was used to start the application should be the 1st controller.

Steps for reproducing this issue:

  1. Install Retroarch or Dolphin via EmuDeck
  2. Connect an external controller to a steam deck
  3. Launch a Retroarch/Dolphin or other non-steam application where you can observe the numbering of the controllers
  4. Observe that the controller ordering does not match the order shown in Steam's "Reorder Controller" window
Stewmath commented 7 months ago

UPDATE: I'm observing this behavior only when Retroarch is run as a non-steam game. The steam version of Retroarch doesn't have this issue. Dolphin also has the same issue (both were installed via emudeck). I've updated the bug description.

Stewmath commented 6 months ago

Oddly I'm now only experiencing this when 2 controllers are connected? Using a dualshock 4 and a steam controller, in addition to the deck of course, for a total of 3 controllers.

teconmoon commented 3 months ago

I came here to write about my experiences seeing as this isn't being discussed anywhere else, but with the caveat that I am no longer able to duplicate this recently (Great for me, bad for data collection). I'm on my Steam Deck on the latest stable update, no beta or preview branches. @Stewmath can you confirm if this is still an ongoing issue for you?

When I experienced this in the past, it seemed to be an issue only with native Linux applications. Anything passing through a Proton compatibility layer (including the Steam version of RetroArch) didn't appear to be affected by this issue. But running any Linux-native games or emulators would all be affected.

A workaround that I discovered at the time was to connect my controllers after starting the game, not before, with the obvious drawback that if I quit the game and moved on to another game, the controller order would again be weird.

Again, I'm no longer able to duplicate this issue, and I can't quite recall when the last time I experience this issue was. It's been a while since I tried playing local multiplayer on my deck, in part due to this issue.

teconmoon commented 2 months ago

Back to inconsistency with this, and I'm having a hard time pinning down why that changed. :(