Skip to content

Commit

Permalink
[VisionGlass] Add interstitial controller
Browse files Browse the repository at this point in the history
Similar to HVR 3DoF we're using the HAND_NONE version.
  • Loading branch information
svillar committed May 8, 2024
1 parent 4c4faf7 commit 654bcbb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 654bcbb

Please sign in to comment.