Closed
Bug 1237896
Opened 7 years ago
Closed 6 years ago
[Gamepad] Button Event cannot be correctly triggered after reconnect
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cleu, Assigned: cleu)
Details
Attachments
(1 file)
1.96 KB,
patch
|
qdot
:
review+
|
Details | Diff | Splinter Review |
Test Environment: Mac OSX Yosemite 10.10.5 and Stock PS4 controller over USB Firefox Version 43.0.4 and nightly Symptom: In HTML5 gamepad tester (html5gamepad.com) DOM side cannot receive button event from HAL after gamepad is reconnected. Cause: CocoaGamepad.cpp passes incorrect gamepad index after any disconnect event Solution: Change the first argument NewButtonEvent() and NewAxisEvent() in InputValueChanged() from i to gamepad.mSuperIndex Patch is ongoing
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cleu
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8705490 -
Flags: review?(kyle)
Assignee | ||
Comment 2•7 years ago
|
||
I found this bug when I am moving Gamepad IPDL to PBackground. I think it's a seperate issue, so I filed a new bug.
Updated•7 years ago
|
Attachment #8705490 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=746a4e1d38ec
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/910229c74099
Updated•3 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•