From 6c42da280a4b6a3a6ddfa039c1895fab87060c4b Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Mon, 24 Feb 2025 12:36:31 +0100 Subject: [PATCH] Remove log spam. --- .../Hand/Interaction/Scripts/ViveHandInteraction.cs | 4 ++-- .../Hand/Interaction/Scripts/ViveHandInteractionExt.cs | 8 ++++---- .../Features/Tracker/Wrist/Scripts/ViveWristTracker.cs | 4 ++-- .../Runtime/Features/Tracker/XR/Scripts/ViveXRTracker.cs | 4 ++-- com.htc.upm.vive.openxr/Runtime/VIVECosmosProfile.cs | 4 ++-- com.htc.upm.vive.openxr/Runtime/VIVEFocus3Profile.cs | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteraction.cs b/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteraction.cs index 2592f58..9e9f8cf 100644 --- a/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteraction.cs +++ b/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteraction.cs @@ -209,7 +209,7 @@ namespace VIVE.OpenXR.Hand /// protected override void RegisterDeviceLayout() { - sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); + // sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); InputSystem.RegisterLayout(typeof(HandInteractionDevice), kLayoutName, matches: new InputDeviceMatcher() @@ -222,7 +222,7 @@ namespace VIVE.OpenXR.Hand /// protected override void UnregisterDeviceLayout() { - sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); + // sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); InputSystem.RemoveLayout(kLayoutName); } diff --git a/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteractionExt.cs b/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteractionExt.cs index b5bef3b..4a35083 100644 --- a/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteractionExt.cs +++ b/com.htc.upm.vive.openxr/Runtime/Features/Hand/Interaction/Scripts/ViveHandInteractionExt.cs @@ -226,7 +226,7 @@ namespace VIVE.OpenXR.Hand #region Supported component paths /// /// Constant for a pose interaction binding '.../input/aim/pose' OpenXR Input Binding.

- /// Typically used for aiming at objects out of arm¡¦s reach. When using a hand interaction profile, it is typically paired with to optimize aiming ray stability while performing the gesture.

+ /// Typically used for aiming at objects out of arm��s reach. When using a hand interaction profile, it is typically paired with to optimize aiming ray stability while performing the gesture.

/// When using a controller interaction profile, the "aim" pose is typically paired with a trigger or a button for aim and fire operations. ///
public const string aim = "/input/aim/pose"; @@ -245,7 +245,7 @@ namespace VIVE.OpenXR.Hand /// /// Constant for a pose interaction binding '.../input/grip/pose' OpenXR Input Binding.

- /// Typically used for holding a large object in the user¡¦s hand. When using a hand interaction profile, it is typically paired with for the user to directly manipulate an object held in a hand.

+ /// Typically used for holding a large object in the user��s hand. When using a hand interaction profile, it is typically paired with for the user to directly manipulate an object held in a hand.

/// When using a controller interaction profile, the "grip" pose is typically paired with a "squeeze" button or trigger that gives the user the sense of tightly holding an object. ///
public const string grip = "/input/grip/pose"; @@ -319,7 +319,7 @@ namespace VIVE.OpenXR.Hand /// protected override void RegisterDeviceLayout() { - sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); + // sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); InputSystem.RegisterLayout(typeof(HandInteractionExtDevice), kLayoutName, matches: new InputDeviceMatcher() @@ -332,7 +332,7 @@ namespace VIVE.OpenXR.Hand /// protected override void UnregisterDeviceLayout() { - sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); + // sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); InputSystem.RemoveLayout(kLayoutName); } diff --git a/com.htc.upm.vive.openxr/Runtime/Features/Tracker/Wrist/Scripts/ViveWristTracker.cs b/com.htc.upm.vive.openxr/Runtime/Features/Tracker/Wrist/Scripts/ViveWristTracker.cs index 047a181..f857322 100644 --- a/com.htc.upm.vive.openxr/Runtime/Features/Tracker/Wrist/Scripts/ViveWristTracker.cs +++ b/com.htc.upm.vive.openxr/Runtime/Features/Tracker/Wrist/Scripts/ViveWristTracker.cs @@ -208,7 +208,7 @@ namespace VIVE.OpenXR.Tracker /// protected override void RegisterDeviceLayout() { - sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); + // sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); InputSystem.RegisterLayout(typeof(WristTrackerDevice), kLayoutName, matches: new InputDeviceMatcher() @@ -221,7 +221,7 @@ namespace VIVE.OpenXR.Tracker /// protected override void UnregisterDeviceLayout() { - sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); + // sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); InputSystem.RemoveLayout(kLayoutName); } diff --git a/com.htc.upm.vive.openxr/Runtime/Features/Tracker/XR/Scripts/ViveXRTracker.cs b/com.htc.upm.vive.openxr/Runtime/Features/Tracker/XR/Scripts/ViveXRTracker.cs index 2850a6f..f3ae926 100644 --- a/com.htc.upm.vive.openxr/Runtime/Features/Tracker/XR/Scripts/ViveXRTracker.cs +++ b/com.htc.upm.vive.openxr/Runtime/Features/Tracker/XR/Scripts/ViveXRTracker.cs @@ -581,7 +581,7 @@ namespace VIVE.OpenXR.Tracker /// protected override void RegisterDeviceLayout() { - sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(@kProducts); DEBUG(sb); + // sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(@kProducts); DEBUG(sb); InputSystem.RegisterLayout(typeof(XrTrackerDevice), kLayoutName, matches: new InputDeviceMatcher() @@ -594,7 +594,7 @@ namespace VIVE.OpenXR.Tracker /// protected override void UnregisterDeviceLayout() { - sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); + // sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); InputSystem.RemoveLayout(kLayoutName); } diff --git a/com.htc.upm.vive.openxr/Runtime/VIVECosmosProfile.cs b/com.htc.upm.vive.openxr/Runtime/VIVECosmosProfile.cs index fa27b63..3d273fb 100644 --- a/com.htc.upm.vive.openxr/Runtime/VIVECosmosProfile.cs +++ b/com.htc.upm.vive.openxr/Runtime/VIVECosmosProfile.cs @@ -282,7 +282,7 @@ namespace VIVE.OpenXR /// protected override void RegisterDeviceLayout() { - Debug.LogFormat("VIVECosmosProfile RegisterDeviceLayout() {0} , product: {1}", kLayoutName, kDeviceLocalizedName); + // Debug.LogFormat("VIVECosmosProfile RegisterDeviceLayout() {0} , product: {1}", kLayoutName, kDeviceLocalizedName); InputSystem.RegisterLayout(typeof(ViveCosmosController), kLayoutName, matches: new InputDeviceMatcher() @@ -295,7 +295,7 @@ namespace VIVE.OpenXR /// protected override void UnregisterDeviceLayout() { - Debug.LogFormat("VIVECosmosProfile UnregisterDeviceLayout() {0}", kLayoutName); + // Debug.LogFormat("VIVECosmosProfile UnregisterDeviceLayout() {0}", kLayoutName); InputSystem.RemoveLayout(kLayoutName); } diff --git a/com.htc.upm.vive.openxr/Runtime/VIVEFocus3Profile.cs b/com.htc.upm.vive.openxr/Runtime/VIVEFocus3Profile.cs index 20f0ee7..15c77b3 100644 --- a/com.htc.upm.vive.openxr/Runtime/VIVEFocus3Profile.cs +++ b/com.htc.upm.vive.openxr/Runtime/VIVEFocus3Profile.cs @@ -500,7 +500,7 @@ namespace VIVE.OpenXR /// protected override void RegisterDeviceLayout() { - sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); + // sb.Clear().Append("RegisterDeviceLayout() ").Append(kLayoutName).Append(", product: ").Append(kDeviceLocalizedName); DEBUG(sb); InputSystem.RegisterLayout(typeof(VIVEFocus3Controller), kLayoutName, matches: new InputDeviceMatcher() @@ -513,7 +513,7 @@ namespace VIVE.OpenXR /// protected override void UnregisterDeviceLayout() { - sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); + // sb.Clear().Append("UnregisterDeviceLayout() ").Append(kLayoutName); DEBUG(sb); InputSystem.RemoveLayout(kLayoutName); }