Skip to content

Commit

Permalink
Show Quest3 right controller in interstitial widget
Browse files Browse the repository at this point in the history
We forgot to add the right controller when we added support
for Quest3 controllers.
  • Loading branch information
svillar authored and felipeerias committed Oct 21, 2023
1 parent 04f6705 commit 3e71787
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/src/oculusvr/res/layout/webxr_interstitial_controller.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,18 @@

tools:ignore="RtlHardcoded" />


<!-- Meta Quest 3 Right Controller -->
<ImageView
app:visibleGone="@{model == DeviceType.MetaQuest3 &amp;&amp; hand == WebXRInterstitialController.HAND_RIGHT}"
tools:visibility="gone"
android:layout_width="100dp"
android:layout_height="100dp"
android:scaleType="fitCenter"
android:scaleX="-1"
android:src="@drawable/controller_quest_3_left"

tools:ignore="RtlHardcoded" />
<!-- Oculus Go Controller -->
<RelativeLayout
app:visibleGone="@{model == DeviceType.OculusGo }"
Expand Down

0 comments on commit 3e71787

Please sign in to comment.