xbox gamepad mapped differently in firefox on Linux and Windows
Categories
(Core :: DOM: Device Interfaces, defect, P2)
Tracking
()
People
(Reporter: lambert.quentin, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: webcompat:platform-bug)
User Story
user-impact-score:400
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.
| Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
(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.
Comment 2•4 years ago
|
||
Any update here?
I have the same problem on Linux using the 8BitDo N300 pro which is detected on Linux as a XBox Controller.
Updated•1 year ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 10•4 months ago
|
||
I tried this with an XBox 360 Wireless controller and it seemed to work correctly. Which Xbox controller are you using? What driver is that controller using?
Comment 11•4 months ago
|
||
Also, if you run evtest with that controller and push those buttons what does it report?
Comment 12•4 months ago
|
||
The original reporter reached out to me confirm that they can't reproduce the bug anymore. Pascal, if you can still reproduce a problem please file a new bug and mention it here.
Updated•3 months ago
|
Description
•