From 6097f04b46d4feb088133787c79221635180a577 Mon Sep 17 00:00:00 2001 From: Vasanth Mohan Date: Mon, 12 Jul 2021 07:13:49 -0700 Subject: [PATCH] Hotfix: Remove Debug Logs for Axis Data --- Runtime/Scripts/ControllerInputManager.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Runtime/Scripts/ControllerInputManager.cs b/Runtime/Scripts/ControllerInputManager.cs index f66086c..c578278 100644 --- a/Runtime/Scripts/ControllerInputManager.cs +++ b/Runtime/Scripts/ControllerInputManager.cs @@ -97,12 +97,7 @@ void ButtonEvents(VRInputManager.Source handID, int buttonID, bool pressed, bool /// Callback function for Raw Data from VRInputManager ControllerDataEvent /// void AxisEvents(VRInputManager.Source handID, int buttonID, float x, float y) { - Button axisButton = (Button)((int)Button.Joystick + buttonID); - - Debug.Log("My Button is " + axisButton); - Debug.Log("Axis is X : " + x); - Debug.Log("Axis is Y : " + y); - + Button axisButton = (Button)((int)Button.Joystick + buttonID); VRAxisEvent?.Invoke((Hand)(handID - 1), axisButton, x, y); //invoke the Unity Event } #endregion