Closed Bug 1455159 Opened 6 years ago Closed 6 years ago

Oculus Touch trigger touch is false in the Gamepad API until the trigger is pressed.

Categories

(Core :: WebVR, enhancement)

x86
Windows 10
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: jshaughnessy, Assigned: daoshengmu)

Details

Attachments

(1 file, 1 obsolete file)

The trigger on Oculus Touch should report when it is touched (before it is pressed), but it doesn't seem to be captured by the Gamepad API as such until the trigger is pressed. 

I looked over the code that was added for button touches, but don't know what the problem is. Still, when I test it out in Firefox I don't get touched==true on the trigger until I press it down. 

"Bug" asking for button touch support: https://bugzilla.mozilla.org/show_bug.cgi?id=1336003

Button touches supported: https://reviewboard.mozilla.org/r/129924/diff/1#index_header

Oculus Touch Touch Input: https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-input-touch-touch/
I am going to investigate this bug.
Assignee: nobody → dmu
In Oculus Touch, we can use ovrTouch_LIndexTrigger or ovrTouch_LIndexPointing to listen the touch events from the trigger button. There is no touch events for the grip button from Touch currently.

Btw, sorry for I haven't setup my Mozreview yet. I will help myself on the track asap.
Attachment #8980131 - Flags: review?(kgilbert)
Attachment #8980131 - Attachment is obsolete: true
Attachment #8980131 - Flags: review?(kgilbert)
Comment on attachment 8980727 [details]
Bug 1455159 - Let Oculus Touch trigger listen touch events instead of using button values;

https://reviewboard.mozilla.org/r/246884/#review253004

This LGTM, thanks!
Attachment #8980727 - Flags: review?(kgilbert) → review+
Pushed by dmu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7fbb120eb12
Let Oculus Touch trigger listen touch events instead of using button values; r=kip
https://hg.mozilla.org/mozilla-central/rev/b7fbb120eb12
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: