Skip to content

Commit 0abe7bc

Browse files
committed
Update VRModuleDeviceModel.IsRight/IsLeft extension
1 parent 1e0f30a commit 0abe7bc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Assets/HTC.UnityPlugin/VRModule/VRModuleDeviceState.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,13 @@ public static bool IsRight(this VRModuleDeviceModel deviceModel)
436436
case VRModuleDeviceModel.KnucklesRight:
437437
case VRModuleDeviceModel.WMRControllerRight:
438438
case VRModuleDeviceModel.ViveCosmosControllerRight:
439-
case VRModuleDeviceModel.OculusQuestControllerRight:
439+
case VRModuleDeviceModel.OculusQuestOrRiftSControllerRight:
440440
case VRModuleDeviceModel.IndexControllerRight:
441441
case VRModuleDeviceModel.ViveHandTrackingTrackedHandRight:
442442
case VRModuleDeviceModel.WaveLegacyTrackedHandRight:
443443
case VRModuleDeviceModel.WaveTrackedHandRight:
444444
case VRModuleDeviceModel.OculusTrackedHandRight:
445+
case VRModuleDeviceModel.ViveFocus3ControllerRight:
445446
return true;
446447
default:
447448
return false;
@@ -456,12 +457,13 @@ public static bool IsLeft(this VRModuleDeviceModel deviceModel)
456457
case VRModuleDeviceModel.KnucklesLeft:
457458
case VRModuleDeviceModel.WMRControllerLeft:
458459
case VRModuleDeviceModel.ViveCosmosControllerLeft:
459-
case VRModuleDeviceModel.OculusQuestControllerLeft:
460+
case VRModuleDeviceModel.OculusQuestOrRiftSControllerLeft:
460461
case VRModuleDeviceModel.IndexControllerLeft:
461462
case VRModuleDeviceModel.ViveHandTrackingTrackedHandLeft:
462463
case VRModuleDeviceModel.WaveLegacyTrackedHandLeft:
463464
case VRModuleDeviceModel.WaveTrackedHandLeft:
464465
case VRModuleDeviceModel.OculusTrackedHandLeft:
466+
case VRModuleDeviceModel.ViveFocus3ControllerLeft:
465467
return true;
466468
default:
467469
return false;

0 commit comments

Comments
 (0)