Gamepad on Android is broken

RESOLVED FIXED in Firefox 55

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: rbarker, Assigned: rbarker)

Tracking

unspecified
Firefox 55
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Gamepad on Android asserts in debug builds.

Additionally, axis values are getting dropped when more than one axis is non-zero.

STR:

1) Press a stick to the far right.
2) With out moving from the right, move the stick slightly up or down so the horizontal axis value doesn't change but the virtical axis will emit a value.

Expected result:
Both axes will generate a value.

Actually result:
The horizontal axis will got to zero.
(Assignee)

Updated

2 years ago
Assignee: nobody → rbarker
Comment hidden (mozreview-request)

Comment 2

2 years ago
mozreview-review
Comment on attachment 8867010 [details]
Bug 1364267 - Prevent Android gamepad from dropping axis values

https://reviewboard.mozilla.org/r/138614/#review142112

Any idea what broke this?
Attachment #8867010 - Flags: review?(ted) → review+
(Assignee)

Comment 3

2 years ago
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2)
>
> Any idea what broke this?

Looks like Bug 1289208. Also, it looks like my fix isn't actually correct looking at how it used to work. I'll post an update.
Comment hidden (mozreview-request)

Comment 5

2 years ago
Pushed by rbarker@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/854dc4d83215
Prevent Android gamepad from dropping axis values r=ted
https://hg.mozilla.org/mozilla-central/rev/854dc4d83215
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.