Open Bug 1763931 Opened 2 years ago Updated 2 years ago

Gamepad gives incorrect button codes for Xbox controller

Categories

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

Firefox 99
defect

Tracking

()

ASSIGNED

People

(Reporter: cjamcl, Assigned: cmartin)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36

Steps to reproduce:

  1. https://gamepad-tester.com/
  2. Press the "start" button of Xbox Wireless Controller

images: https://imgur.com/a/fKCUA5N

Actual results:

B11 is emitted

Device ID listed as "45e-b13-Xbox Wireless Controller"

Expected results:

B9 is emitted (as in Chrome)

Device ID listed as "Xbox Wireless Controller (STANDARD GAMEPAD Vendor: 045e Product: 0b13)"

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

(not sure why I gave a non-FF UA: to be clear, I was using the latest stable Firefox)

Assignee: nobody → cmartin
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.