Skip to content

Commit

Permalink
Hotfix: Remove Debug Logs for Axis Data
Browse files Browse the repository at this point in the history
  • Loading branch information
vmohan7 committed Jul 12, 2021
1 parent 782cb32 commit 6097f04
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Runtime/Scripts/ControllerInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,7 @@ void ButtonEvents(VRInputManager.Source handID, int buttonID, bool pressed, bool
/// Callback function for Raw Data from VRInputManager ControllerDataEvent
/// </summary>
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
Expand Down

0 comments on commit 6097f04

Please sign in to comment.