Open Bug 1784381 Opened 2 years ago Updated 5 months ago

Gamepad does not work on Steam Deck with latest version of Firefox

Categories

(Core :: DOM: Device Interfaces, defect, P3)

Firefox 103
defect

Tracking

()

ASSIGNED

People

(Reporter: brianpeiris, Assigned: cmartin)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

There are two versions of Firefox available in Steam Deck's desktop mode. The first is the version of Firefox that comes installed by default, version 96.0.3 (Mozilla Firefox for Arch Linux).

The second version is the one available though Arch KDE's "Discover" application installer. It offers a Flatpak version of Firefox that is more up to date, version 103.0.2 (Mozilla Firefox Flatpak).

The pre-installed Firefox does support the Steam Deck's gamepad, but the Flatpak version does not.

Actual results:

The Steam Deck gamepad does not work in the Flatpak version of Firefox. Tested using https://greggman.github.io/html5-gamepad-test/ in Steam Deck's desktop mode.

Expected results:

The Steam Deck appears to expose the gamepad hardware at /dev/input/js0, which I believe is the standard. It's unclear why the gamepad does not work in the latest Flatpak version of Firefox, when it does work in the pre-installed version of Firefox.

Ideally, the latest version would support access to the gamepad.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Device Interfaces' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Device Interfaces
Product: Firefox → Core
Assignee: nobody → cmartin
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3

I wonder this is because there's no MOZ_USE_XINPUT2=1 in the plain flatpak build.

Edit: Doesn't seem to work even with the env var.

You need to log in before you can comment on or make changes to this bug.