Open Bug 1523350 Opened 5 years ago Updated 2 years ago

Firefox DualShock 4 support

Categories

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

enhancement

Tracking

()

People

(Reporter: daoshengmu, Assigned: cmartin)

References

()

Details

(Keywords: dev-doc-needed, Whiteboard: [webcompat-sci-exclude])

No description provided.
Assignee: nobody → dmu
Depends on: 1465643
Depends on: 1523351
Depends on: 1523353
Depends on: 1523355
Priority: -- → P3

Might wanna throw an Intent To Implement for this on dev-platform, since this spec is still only a proposal that hasn't even made it to the gamepad extension spec yet?

(In reply to Kyle Machulis [:qdot] [:kmachulis] (if a patch has no decent commit message, automatic r-) from comment #2)

Might wanna throw an Intent To Implement for this on dev-platform, since this spec is still only a proposal that hasn't even made it to the gamepad extension spec yet?

Thanks for the remainder. I will do this next week.

As discussed on dev-platform, we want to ensure that two different origins do not see the same touchid value, so please add a test that checks this.

Depends on: 1545180
Depends on: 1545806
Whiteboard: [webcompat-sci-exclude]
Depends on: 1555484

Bug 1523351 has been landed. Per Bug 1523351 Comment 10,

We should ask for improvements of the spec [1][2] as below according our discussion [3].

(1) touchId cross-origin problem can be solved.
(2) These two APIs need to be restricted to be SecureContext.
(3) the light indicator color would be (0,0,0) by default.

These three things are requested to change in the spec. I have told the proposal's author to modify them.
I also think we should suggest:

(4) Make the touchId to be 0 when there is no touch events.

[1] https://htmlpreview.github.io/?https://github.com/knyg/gamepad/blob/lightindicator/extensions.html
[2] https://htmlpreview.github.io/?https://github.com/knyg/gamepad/blob/multitouch/extensions.html
[3] https://groups.google.com/d/msg/mozilla.dev.platform/75GrJSPHAu0/B_HXSyB9CQAJ

Assignee: dmu → cmartin
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.