Closed
Bug 1336002
Opened 7 years ago
Closed 7 years ago
[webvr] Support HTC Vive button touched in the Gamepad API
Categories
(Core :: WebVR, defect)
Core
WebVR
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: daoshengmu, Assigned: daoshengmu)
References
()
Details
(Keywords: feature, Whiteboard: [gfx-noted])
Attachments
(4 files, 1 obsolete file)
Assignee | ||
Updated•7 years ago
|
Summary: [webvr] Support HTC Vive button touched → [webvr] Support HTC Vive button touched in the Gamepad API
Updated•7 years ago
|
Whiteboard: [gfx-noted]
Updated•7 years ago
|
Component: Graphics → WebVR
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dmu
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Try looks good, https://treeherder.mozilla.org/#/jobs?repo=try&revision=a344aa215d166ec518688422e8786de1858a434c
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8855365 [details] Bug 1336002 - Part 3: Support button touched in OpenVR and Puppet; https://reviewboard.mozilla.org/r/127220/#review129986 This LGTM, Thanks!
Attachment #8855365 -
Flags: review?(kgilbert) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8855364 [details] Bug 1336002 - Part 2: Support button touched in GamepadManager; https://reviewboard.mozilla.org/r/127218/#review130148 ::: dom/gamepad/android/AndroidGamepad.cpp:50 (Diff revision 2) > GamepadPlatformService::GetParentService(); > if (!service) { > return; > } > > - service->NewButtonEvent(aID, aButton, aPressed, aValue); > + service->NewButtonEvent(aID, aButton, aPressed, aPressed, aValue); It looks a bit awkward when you need to pass duplicate argument reduntantly. I think you should add another "NewButtonEvent" with touch event support.
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8855366 [details] Bug 1336002 - Part 5: Add gamepad button touched tests; https://reviewboard.mozilla.org/r/127222/#review130720 LGTM, although it's a bit awkward to pass duplicate argument redundantly in NewButtonEvent for now, we may add touch support for these tests in the future.
Attachment #8855366 -
Flags: review?(cleu) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8855366 -
Attachment is obsolete: true
Attachment #8855366 -
Flags: review?(kyle)
Assignee | ||
Comment 17•7 years ago
|
||
I move the patch of updateTimeStamp for gamepadpose changes to an another separate bug, Bug 1354977.
Assignee | ||
Comment 18•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8855364 [details] Bug 1336002 - Part 2: Support button touched in GamepadManager; https://reviewboard.mozilla.org/r/127218/#review130148 > It looks a bit awkward when you need to pass duplicate argument reduntantly. > > I think you should add another "NewButtonEvent" with touch event support. Good idea! thanks.
Assignee | ||
Comment 19•7 years ago
|
||
try looks good, https://treeherder.mozilla.org/#/jobs?repo=try&revision=a2436986ed84b4f68af36ceecba8326aa45bc72e
Comment 20•7 years ago
|
||
mozreview-review |
Comment on attachment 8855364 [details] Bug 1336002 - Part 2: Support button touched in GamepadManager; https://reviewboard.mozilla.org/r/127218/#review130838 Looks nice!
Attachment #8855364 -
Flags: review?(cleu) → review+
Comment 21•7 years ago
|
||
mozreview-review |
Comment on attachment 8855363 [details] Bug 1336002 - Part 4: Add gamepad button touched tests; https://reviewboard.mozilla.org/r/127216/#review130840
Attachment #8855363 -
Flags: review?(cleu) → review+
Comment 22•7 years ago
|
||
mozreview-review |
Comment on attachment 8855362 [details] Bug 1336002 - Part 1: Support button touched in the Gamepad API; https://reviewboard.mozilla.org/r/127214/#review131102
Comment 23•7 years ago
|
||
mozreview-review |
Comment on attachment 8855362 [details] Bug 1336002 - Part 1: Support button touched in the Gamepad API; https://reviewboard.mozilla.org/r/127214/#review131104
Attachment #8855362 -
Flags: review?(kyle) → review+
Comment 24•7 years ago
|
||
mozreview-review |
Comment on attachment 8855363 [details] Bug 1336002 - Part 4: Add gamepad button touched tests; https://reviewboard.mozilla.org/r/127216/#review131106
Attachment #8855363 -
Flags: review?(kyle) → review+
Comment 25•7 years ago
|
||
Pushed by dmu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fafb04b95d0f Part 1: Support button touched in the Gamepad API; r=qdot https://hg.mozilla.org/integration/autoland/rev/20750f1dbcaf Part 2: Support button touched in GamepadManager; r=Lenzak https://hg.mozilla.org/integration/autoland/rev/961f1f9a522e Part 3: Support button touched in OpenVR and Puppet; r=kip https://hg.mozilla.org/integration/autoland/rev/4d1d356ad1b3 Part 4: Add gamepad button touched tests; r=Lenzak,qdot
Comment 26•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fafb04b95d0f https://hg.mozilla.org/mozilla-central/rev/20750f1dbcaf https://hg.mozilla.org/mozilla-central/rev/961f1f9a522e https://hg.mozilla.org/mozilla-central/rev/4d1d356ad1b3
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•