From 654bcbba680c5262e36ea0381d70c37c7b0968fd Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 8 May 2024 12:01:05 +0200 Subject: [PATCH] [VisionGlass] Add interstitial controller Similar to HVR 3DoF we're using the HAND_NONE version. --- .../com/igalia/wolvic/ui/widgets/WebXRInterstitialWidget.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/WebXRInterstitialWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/WebXRInterstitialWidget.java index 76f67faf8b..bc8049a4bb 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/WebXRInterstitialWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/WebXRInterstitialWidget.java @@ -122,6 +122,8 @@ private void initializeControllers() { } else if (deviceType == DeviceType.LenovoVRX) { addController(DeviceType.LenovoVRX, WebXRInterstitialController.HAND_LEFT); addController(DeviceType.LenovoVRX, WebXRInterstitialController.HAND_RIGHT); + } else if (deviceType == DeviceType.VisionGlass) { + addController(DeviceType.VisionGlass, WebXRInterstitialController.HAND_NONE); } for (UIWidget controller: mControllers) { controller.getPlacement().parentHandle = getHandle();