immersive-web / cardboard-vr-display

A JavaScript implementation of a WebVR 1.1 VRDisplay
https://immersive-web.github.io/cardboard-vr-display
Apache License 2.0
92 stars 43 forks source link

Any runtime alternatives to DPDB? #26

Open devasur opened 6 years ago

devasur commented 6 years ago

It will be great if the split screen could be constructed without a DPDB entry. If we could discuss constraints may be we could at least come up with a better approximation for a runtime defaukt when a device could not be matched.

jsantell commented 6 years ago

It does use defaults if no entry is found: https://github.com/immersive-web/cardboard-vr-display/blob/2d11e00f170b678965616a82a24c02bc6916e003/src/device-info.js#L29-L43

Are you seeing a failure when no device data is found?