Implement Gamepad for XRInputSource
Categories
(Core :: WebVR, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: daoshengmu, Assigned: daoshengmu)
References
()
Details
Attachments
(3 files, 5 obsolete files)
We need to do some additional works in Gamepad module for motion controllers that are specific for XR devices.
- Check controller button/axis mapping if they match to WebXR input profiles properly.
- Make sure gamepad instance is not added to navigator when webxr is enabled.
- Gamepad id attribute must be "".
- Gamepad index attribute must be -1.
- Gamepad connected attribute must be true until its XRInputSource is removed or the XRSession is ended.
- If an axis reported by the gamepad's axes array represents an axis of a touchpad, the value MUST be 0 when the associated GamepadButton's touched is false.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D64264
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D64265
Assignee | ||
Comment 5•5 years ago
•
|
||
TargetRaySpace, GripSpace, and controller states in XRInputSource work properly now. I just have more thing to fix regarding to the orientation of XRSpace.
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Daosheng Mu[:daoshengmu] from comment #5)
TargetRaySpace, GripSpace, and controller states in XRInputSource work properly now. I just have more thing to fix regarding to the orientation of XRSpace.
I have confirmed OpenVR and Oculus controllers work as my expectation, and they are ready to review.
Assignee | ||
Comment 7•5 years ago
|
||
MozReview-Commit-ID: 9gHLqyYqjnE
Assignee | ||
Comment 8•5 years ago
|
||
MozReview-Commit-ID: 1tQEuvkwbtQ
Depends on D67431
Assignee | ||
Comment 9•5 years ago
|
||
MozReview-Commit-ID: KGAUnnlivzz
Depends on D67432
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
https://phabricator.services.mozilla.com/D67432
Depends on D67431
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Backed out for build bustages.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1611310#c9.
Backout: https://hg.mozilla.org/integration/autoland/rev/c125833dc46abea4b53adc37022b71a5cd10a11c
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Backed out 3 changesets (Bug 1617023) for causing mass bustages CLOSED TREE
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=296724638&repo=autoland&lineNumber=37338
Comment 15•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/67c3dd4a36d5
https://hg.mozilla.org/mozilla-central/rev/a98e10887bc0
https://hg.mozilla.org/mozilla-central/rev/8fb585fedcbb
Description
•