Skip to content

Commit cf35c72

Browse files
author
lawwong
committed
Fix input not handle for VRModuleDeviceModel.OculusTouchProLeft/Right
fix #256
1 parent d39f50e commit cf35c72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/HTC.UnityPlugin/VRModule/Modules/OculusVRModule.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,7 @@ public override void BeforeRenderUpdate()
815815
case VRModuleDeviceModel.OculusTouchLeft:
816816
case VRModuleDeviceModel.OculusQuestControllerLeft:
817817
case VRModuleDeviceModel.OculusQuest2ControllerLeft:
818+
case VRModuleDeviceModel.OculusTouchProLeft:
818819
{
819820
var ctrlState = OVRPlugin.GetControllerState((uint)OVRPlugin.Controller.LTouch);
820821

@@ -842,6 +843,7 @@ public override void BeforeRenderUpdate()
842843
case VRModuleDeviceModel.OculusTouchRight:
843844
case VRModuleDeviceModel.OculusQuestControllerRight:
844845
case VRModuleDeviceModel.OculusQuest2ControllerRight:
846+
case VRModuleDeviceModel.OculusTouchProRight:
845847
{
846848
var ctrlState = OVRPlugin.GetControllerState((uint)OVRPlugin.Controller.RTouch);
847849

0 commit comments

Comments
 (0)