diff --git a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/BaseOculusController.cs b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/BaseOculusController.cs index 976076a..8452f9b 100644 --- a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/BaseOculusController.cs +++ b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/BaseOculusController.cs @@ -82,12 +82,6 @@ protected BaseOculusController(IMixedRealityControllerDataProvider controllerDat /// public override MixedRealityInteractionMapping[] DefaultRightHandedInteractions => DefaultInteractions; - /// - public override void SetupDefaultInteractions(Handedness controllerHandedness) - { - AssignControllerMappings(DefaultInteractions); - } - private MixedRealityPose currentPointerPose = MixedRealityPose.ZeroIdentity; private MixedRealityPose lastControllerPose = MixedRealityPose.ZeroIdentity; private MixedRealityPose currentControllerPose = MixedRealityPose.ZeroIdentity; diff --git a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusGoController.cs b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusGoController.cs index 3abc622..838f15e 100644 --- a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusGoController.cs +++ b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusGoController.cs @@ -58,11 +58,5 @@ public OculusGoController(IMixedRealityControllerDataProvider controllerDataProv new MixedRealityInteractionMapping("Button.DpadLeft", AxisType.Digital, "DpadLeft", DeviceInputType.ButtonPress), new MixedRealityInteractionMapping("Button.DpadRight", AxisType.Digital, "DpadRight", DeviceInputType.ButtonPress), }; - - /// - public override void SetupDefaultInteractions(Handedness controllerHandedness) - { - AssignControllerMappings(controllerHandedness == Handedness.Left ? DefaultLeftHandedInteractions : DefaultRightHandedInteractions); - } } } \ No newline at end of file diff --git a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusRemoteController.cs b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusRemoteController.cs index 7a8f739..d0c5b73 100644 --- a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusRemoteController.cs +++ b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusRemoteController.cs @@ -30,11 +30,5 @@ public OculusRemoteController(IMixedRealityControllerDataProvider controllerData new MixedRealityInteractionMapping("Button.Start", AxisType.Digital, "Start", DeviceInputType.ButtonPress), new MixedRealityInteractionMapping("Button.Back", AxisType.Digital, "Back", DeviceInputType.ButtonPress), }; - - /// - public override void SetupDefaultInteractions(Handedness controllerHandedness) - { - AssignControllerMappings(DefaultInteractions); - } } } \ No newline at end of file diff --git a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusTouchController.cs b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusTouchController.cs index fa46072..6044e7c 100644 --- a/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusTouchController.cs +++ b/XRTK.Oculus/Packages/com.xrtk.oculus/Controllers/OculusTouchController.cs @@ -65,11 +65,5 @@ public OculusTouchController(IMixedRealityControllerDataProvider controllerDataP new MixedRealityInteractionMapping("Touch.SecondaryThumbRest Touch", AxisType.Digital, "RThumbRest", DeviceInputType.ThumbTouch), new MixedRealityInteractionMapping("Touch.SecondaryThumbRest Near Touch", AxisType.Digital, "RThumbRest", DeviceInputType.ThumbNearTouch) }; - - /// - public override void SetupDefaultInteractions(Handedness controllerHandedness) - { - AssignControllerMappings(controllerHandedness == Handedness.Left ? DefaultLeftHandedInteractions : DefaultRightHandedInteractions); - } } } \ No newline at end of file