mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1545808 - Enable dom.vr.openvr.action_input in Release. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D28254 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
2862090894
commit
e9c4cae002
@ -388,11 +388,7 @@ class gfxPrefs final {
|
||||
DECL_GFX_PREF(Live, "dom.vr.oculus.present.timeout", VROculusPresentTimeout, int32_t, 500);
|
||||
DECL_GFX_PREF(Live, "dom.vr.oculus.quit.timeout", VROculusQuitTimeout, int32_t, 10000);
|
||||
DECL_GFX_PREF(Once, "dom.vr.openvr.enabled", VROpenVREnabled, bool, false);
|
||||
#if defined(RELEASE_OR_BETA)
|
||||
DECL_GFX_PREF(Once, "dom.vr.openvr.action_input", VROpenVRActionInputEnabled, bool, false);
|
||||
#else
|
||||
DECL_GFX_PREF(Once, "dom.vr.openvr.action_input", VROpenVRActionInputEnabled, bool, true);
|
||||
#endif
|
||||
DECL_GFX_PREF(Once, "dom.vr.osvr.enabled", VROSVREnabled, bool, false);
|
||||
DECL_GFX_PREF(Live, "dom.vr.controller.enumerate.interval", VRControllerEnumerateInterval, int32_t, 1000);
|
||||
DECL_GFX_PREF(Live, "dom.vr.display.enumerate.interval", VRDisplayEnumerateInterval, int32_t, 5000);
|
||||
|
@ -5509,11 +5509,7 @@ pref("dom.vr.openvr.enabled", true);
|
||||
// See Bug 1310663 (Linux). On Android, this pref is irrelevant.
|
||||
pref("dom.vr.openvr.enabled", false);
|
||||
#endif
|
||||
#ifdef RELEASE_OR_BETA
|
||||
pref("dom.vr.openvr.action_input", false);
|
||||
#else
|
||||
pref("dom.vr.openvr.action_input", true);
|
||||
#endif
|
||||
// Minimum number of milliseconds that the browser will wait before
|
||||
// attempting to poll again for connected VR controllers. The browser
|
||||
// will not attempt to poll for VR controllers until it needs to use them.
|
||||
|
Loading…
Reference in New Issue
Block a user