Skip to content

Commit 7e69fe0

Browse files
committed
Remove some unneeded logs
1 parent de0b45d commit 7e69fe0

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

Assets/MixedRealityToolkit.Providers/WindowsMixedReality/XRSDK/WindowsMixedRealityDeviceManager.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ protected override InputSourceType GetInputSourceType(SupportedControllerType su
125125
/// <inheritdoc />
126126
protected override SupportedControllerType GetCurrentControllerType(InputDevice inputDevice)
127127
{
128-
Debug.Log(inputDevice.name);
129-
130128
if (inputDevice.characteristics.HasFlag(InputDeviceCharacteristics.HandTracking))
131129
{
132130
return SupportedControllerType.ArticulatedHand;
@@ -137,8 +135,6 @@ protected override SupportedControllerType GetCurrentControllerType(InputDevice
137135
return SupportedControllerType.WindowsMixedReality;
138136
}
139137

140-
Debug.Log($"{inputDevice.name} does not have a defined controller type, falling back to generic controller type");
141-
142138
return base.GetCurrentControllerType(inputDevice);
143139
}
144140

Assets/MixedRealityToolkit.Providers/XRSDK/Controllers/GenericXRSDKController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ public virtual void UpdateController(InputDevice inputDevice)
122122
case AxisType.SixDof:
123123
UpdatePoseData(Interactions[i], inputDevice);
124124
break;
125-
default:
126-
Debug.LogError($"Input [{Interactions[i].InputType}] is not handled for this controller [{GetType().Name}]");
127-
break;
128125
}
129126
}
130127
}

Assets/MixedRealityToolkit.Providers/XRSDK/XRSDKDeviceManager.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ public override void Update()
5353

5454
if (XRSDKSubsystemHelpers.InputSubsystem == null || !XRSDKSubsystemHelpers.InputSubsystem.running)
5555
{
56-
Debug.Log($"Input system null {XRSDKSubsystemHelpers.InputSubsystem == null}");
5756
return;
5857
}
5958

@@ -156,8 +155,6 @@ protected virtual GenericXRSDKController GetOrAddController(InputDevice inputDev
156155
controllingHand = Handedness.None;
157156
}
158157

159-
Debug.Log(controllingHand + " | " + inputDevice.manufacturer + " | " + inputDevice.serialNumber);
160-
161158
var currentControllerType = GetCurrentControllerType(inputDevice);
162159
Type controllerType = GetControllerType(currentControllerType);
163160
InputSourceType inputSourceType = GetInputSourceType(currentControllerType);

0 commit comments

Comments
 (0)