skezo / Reticulum

A simple gaze interaction manager for VR in the browser with Three.js.
http://skezo.github.io/Reticulum/
61 stars 15 forks source link

auto brightness on mobile goes dark when inserted into cardboard #23

Closed arapps3d closed 7 years ago

arapps3d commented 7 years ago

Hi! Is there a way to prevent auto brightness on mobile from going dark as soon as I put the device into the cardboard (maybe disable it by code)? Or can this only be adjusted by the user? Thanks.

skezo commented 7 years ago

This is controlled by the webvr-polyfill. https://github.com/googlevr/webvr-polyfill/blob/7d5a66ae4ae5f4590d1a5d988a9d0f5038b6145a/src/wakelock.js