You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed to change some things to make it work with Daydream (a link which work with with Chromium (57.0.2947.0) on my new Pixel device) > https://unboring.net/tmp/ray-input/
Modifying webvr-manager build because when you press cardboard button doesn't detect any hmd. And researching I think is because doesn't resolve Promise getDeviceByType_ as expected:
Because if (displays[i] instanceof type) { is false if you run this code on Chrome Beta or Chromium.
If you add a log:
Returns:
It seems VRDisplay is returning well, but when try to make a instanceof returns false (I guess) because its constructor is a [native code] (not sure about this) but if you make the same log with regular Chrome doesn't returns any [native code] and Cardboard as display name as expected:
I can confirm that RayInput doesn't work on the current Android Chrome Beta (57.0.2987.97), but DOES work without changes on Chrome Canary (59.0.3037.0).
I needed to change some things to make it work with Daydream (a link which work with with Chromium (57.0.2947.0) on my new Pixel device) > https://unboring.net/tmp/ray-input/
What I needed to do:
Comment e.preventDefault(); line as @bunnybones1 reported on cardboard button not firing on touch unless I remove e.preventDefault() on touchEnd; #14
Modifying webvr-manager build because when you press cardboard button doesn't detect any hmd. And researching I think is because doesn't resolve Promise getDeviceByType_ as expected:
Because
if (displays[i] instanceof type) {
is false if you run this code on Chrome Beta or Chromium.If you add a log:

Returns:

It seems VRDisplay is returning well, but when try to make a instanceof returns false (I guess) because its constructor is a [native code] (not sure about this) but if you make the same log with regular Chrome doesn't returns any [native code] and Cardboard as display name as expected:
Just two more things:
I used latest versions of:
and it works well with Chromium (57.0.2947.0)
But with the last Chrome Beta (56.0.2924.23) doesn't seem ok:
I was talking with @klausw via Slack too, I hope this will be helpful in some way.
The text was updated successfully, but these errors were encountered: