steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Steam Controller Support With 3rd Party Flatpak Games

Open tmcd35 opened this issue 3 years ago • 4 comments

Your system information

  • Steam client version: latest stable
  • Distribution: Any (Manjaro KDE)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

I've reported this over on Flatpaks Github but think it should be looked at here as well.

When adding a Non Steam Game to the Library that has controller support and was installed as a Flatpak, the Steam Controller does not pass to the game. Controls are forced into Desktop Configuration mode.

This happens because the hooks used by the Steam Client to inject the Steam Overlay into the game fail to pass through Flatpak virtual container security. Without the Overlay running Controller mapping is unavailable and thus the system defaults to Desktop Configuration.

With the new SteamOS UI (-gamepadui) seemingly not supporting Desktop Configuration for controllers, and SteamOS promoting Fkatpaks for 3rd party application delivery, a way needs to be found to properly support Steam Controls through Flatpak for non SteamOS Linux users.

Neither "switch to SteamOS" or "Don't use Flatpaks" feel like fair or sensible options.

Steps for reproducing this issue:

  1. Install a 3rd party game to the OS using Flatpaks (eg. RetroArch)
  2. Add installed game to Steam Library via Non Steam Shortcut
  3. Setup Big Picture Mode Controller mappings, eg default Gamepad configuration
  4. Run game from Steam Client
  5. Controller configurations will be ignored, controller will default to Desktop Mode configuration
  6. Pressing Guide button on controller WILL NOT display Steam Overlay (it should).

tmcd35 avatar May 19 '22 11:05 tmcd35

Hello @tmcd35, this issue is already being tracked at #8583. Closing as a duplicate.

kisak-valve avatar May 19 '22 12:05 kisak-valve

Not sure this is a duplicate issue. #8583 seems to be referring to general controller profiles. This issue is specifically regarding interfacing with Flatpak installed apps/games.

tmcd35 avatar May 19 '22 12:05 tmcd35

Am having this same issue on steamos on a Deck, FWIW - in game mode, controller configuration with flatpaks works as expected (tested in GZDOOM and Retroarch) but in desktop mode it doesn't (no controller config or steam overlay). Regular steam games and non-flatpak nonsteam games both work as expected in desktop mode

GorrillaRibs avatar Aug 15 '22 16:08 GorrillaRibs

Having the same problem here... Steam controller configuration (and Steam overlay) does not work with Flatpak games.

This issue is separate from #8583, which has to do with accessing controller profiles for specific games. This issue is about the controller configuration not working at all with Flatpak games.

As noted by @GorrillaRibs ... game mode on Steam Deck is the exception, as the one place I can get a controller profile to work with a Flatpak game, after adding it as a non-Steam game and making a controller profile for it.

But running Steam on a desktop linux machine, the only work around I can find is to change the desktop controller configuration to the one I use for the game, and then launch the game... kind of a pain. And that doesn't fix the overlay not working.

Please re-open this issue!

creativecoder avatar Sep 20 '22 14:09 creativecoder

This should be fixed in latest beta, Steam Input can now be used with flatpak shortcuts.

TTimo avatar Mar 28 '23 02:03 TTimo

Closing per the last comment.

kisak-valve avatar Apr 29 '23 00:04 kisak-valve