Open Bug 1707400 Opened 3 years ago Updated 1 year ago

Xbox One Controller Does Not Map Buttons Correctly

Categories

(Core :: DOM: Device Interfaces, defect)

Firefox 90
ARM64
macOS
defect

Tracking

()

Tracking Status
firefox88 --- affected
firefox89 --- affected
firefox90 --- affected
firefox91 --- affected

People

(Reporter: AwesomeSheep48, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

Go to https://gamepad-tester.com/
Click a few buttons on your controller

Actual results:

Most of the buttons do not line up with what you actually pressed

Expected results:

They should be correctly mapped

The order did them in is: LT LB LS LEFT DOWN RIGHT UP BACK START X Y B A RS RB RT

I don't have XBox controller. This does work with PS4 controller on macOS Big Sur. The controls map correctly to the test page controller graphic.

William, one of our devs tried with wired XBox controllers and this worked correctly for them. Can you try wired?

Flags: needinfo?(daviswill048)

Connecting it wired wouldn't even show up for me, but that might be because I am using an M1 MacBook Air, so I need to use a dongle since I don't have a Micro USB to USB-C cable.

Flags: needinfo?(daviswill048)

Managed to reproduce this with an Xbox One X controller connected to M1 MacBook Air device via Bluetooth. First compared Chrome and Edge for mapping and they are both identical, then I switched to Firefox where I can also confirm as the reporter that the mapping is not right.
Attached recording for reference:

  1. Chrome and Edge identical mapping: https://streamable.com/4t60ql
  2. Chrome and Firefox comparison: https://streamable.com/wbza5s. (please note that the mapping on Chrome is shown at the beginning as proof of mapping correctness)

Notes: could not reproduce this on Windows 10 with the same Xbox controller. All latest Firefox versions are affected on the M1 device. This could be a global MacOS issue given there is a known Bug 1655274.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Device Interfaces
Ever confirmed: true
Product: Firefox → Core
OS: Unspecified → macOS
Hardware: Unspecified → ARM64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: