#81 Flatpaks do not pass game controllers to games
Closed 2 years ago by tpopela. Opened 2 years ago by drewofdoom.

Flatpak applications do not receive proper game controller support for the DualShock4 controller and possibly others. Unknown if this is an issue within Flatpak, SIlverblue, or Fedora base. Issue occurs in Fedora 31 and Fedora 32 beta at a minimum.

Steps taken:
1) Installed a udev rule to allow DualShock4 controller via uaccess
--- example rules: https://gitlab.com/Fabish/game-devices-udev
2) Installed Steam and GNOME Games flatpaks
3) Ran --user override --allow=bluetooth for both applications
4) Connected bluetooth controller and launched each application
5) Application configuration dialogues show the controller and test input is validated
6) Launch game
--- at this point the controller does not function within the game itself

I tested this behavior with both applications, and received the same results. I also tested this in both Bluetooth and USB connection modes.

The controller worked as expected when installing Steam as an overlay application, but installing it in a Toolbox resulted in the same problem as with Flatpak installations.

This same issue has been reported by another user on the Flathub/com.valvesoftware.Steam github: https://github.com/flathub/com.valvesoftware.Steam/issues/396

I am available for troubleshooting this issue.

Hi, Games maintainer here. Controllers work well here in Flatpak.

If the controller shows up in preferences, it should work in the games themselves, they do input the same way.

Unless you meant Steam games. For those it all depends on Steam.

If you actually have a problem with retro games not picking up controllers while the UI does so, please file an issue upstream, at https://gitlab.gnome.org/GNOME/gnome-games/issues

Closing this issue per comment from @exalm. If there are any Silveblue problems, then please open a bug in https://github.com/fedora-silverblue/issue-tracker/issues

Metadata Update from @tpopela:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.