Open Bug 1650152 Opened 4 years ago Updated 2 months ago

Logitech Gamepad F310 does not follow standard gamepad layout

Categories

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

77 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: stephane, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

I tried Gamepad Logitech F310, for example with https://html5gamepad.com/

Actual results:

Buttons back and Start are mapped to B6 and B7.

Expected results:

Following the standard layout (https://www.w3.org/TR/gamepad/standard_gamepad.svg), they should be mapped to B8 and B9.

Chrome does the remapping correctly.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core
Component: Layout: Text and Fonts → DOM: Device Interfaces
Blocks: 1643835
Severity: -- → S3
Priority: -- → P2

It seems like you're facing an issue with the button mapping on the Logitech F310 gamepad when using Firefox on Ubuntu. To address this issue, you might consider the following steps by https://ffh4xapks.com/

Check Firefox Updates:
Ensure that your Firefox browser is up-to-date. Sometimes, issues with gamepad compatibility are addressed in newer browser versions.

Firefox Configuration:
Firefox has some configuration options that can be tweaked. Open a new tab and type about:config in the address bar. Accept the warning, then search for dom.gamepad.buttonCode. You can try modifying this value to see if it affects the button mapping.

Gamepad API Extension:
Install an extension/add-on in Firefox that allows you to customize gamepad input. Extensions like "Gamepad Test" or "Gamepad Mapper" might help you remap buttons according to your preference.

Check Logitech Software:
Ensure that you have the Logitech Gaming Software installed on your system. Sometimes, these tools provide additional options for configuring gamepad settings.

Check Ubuntu Settings:
Verify that your system recognizes the Logitech F310 correctly. You can check this in the Ubuntu settings or by using tools like jstest-gtk to see the input from your gamepad.

Report to Mozilla:
If the issue persists, consider reporting the problem to Mozilla through their bug tracking system. Provide the details you've shared here to help them understand and address the problem in future releases.

Remember that gamepad support can depend on various factors, including browser versions, operating systems, and device drivers. Experimenting with the mentioned steps might help you find a workaround or identify the root cause of the issue.

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