Open Bug 1643358 Opened 4 years ago Updated 28 days ago

xbox gamepad mapped differently in firefox on Linux and Windows

Categories

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

76 Branch
Desktop
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lambert.quentin, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

I am going to consider that the behaviour on Windows is the correct one because it is consistent with Chrome's behaviour.
Connect an xbox controller to your Linux machine.
Go to http://html5gamepad.com.
Press the left stick button.

Actual results:

Button B9's value changes to 1.

Expected results:

Button B10's value changes to 1.

Component: Untriaged → DOM: Device Interfaces
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → Desktop
Severity: -- → S3
Priority: -- → P2
Blocks: 1643835

(In reply to lambert.quentin from comment #0)

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

Steps to reproduce:

I am going to consider that the behaviour on Windows is the correct one because it is consistent with Chrome's behaviour.
Connect an xbox controller to your Linux machine.
Go to http://html5gamepad.com.
Press the left stick button.

Actual results:

Button B9's value changes to 1.

Expected results:

Button B10's value changes to 1.

Thanks for report this. We will figure out how to fix it.

Any update here?

I have the same problem on Linux using the 8BitDo N300 pro which is detected on Linux as a XBox Controller.

Possible duplicate issue, see #952773

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