diff --git a/TrackedControllerFix/HarmonyPatches.cs b/TrackedControllerFix/HarmonyPatches.cs index 4399cec..72434c4 100644 --- a/TrackedControllerFix/HarmonyPatches.cs +++ b/TrackedControllerFix/HarmonyPatches.cs @@ -22,6 +22,8 @@ internal class PlayerSetupPatches vrRightHandTracker = __instance.vrRightHandTracker.AddComponent(); vrLeftHandPose = __instance.vrLeftHandTracker.GetComponent(); vrRightHandPose = __instance.vrRightHandTracker.GetComponent(); + vrLeftHandPose.enabled = false; + vrRightHandPose.enabled = false; } [HarmonyPrefix] @@ -32,11 +34,13 @@ internal class PlayerSetupPatches // but this is the best way to support DesktopVRSwitch & not redo the controller inputs if (vrLeftHandTracker != null) { + vrLeftHandPose.enabled = true; vrLeftHandTracker.SetDeviceIndex(vrLeftHandPose.GetDeviceIndex()); vrLeftHandPose.enabled = false; } if (vrRightHandTracker != null) { + vrRightHandPose.enabled = true; vrRightHandTracker.SetDeviceIndex(vrRightHandPose.GetDeviceIndex()); vrRightHandPose.enabled = false; } diff --git a/TrackedControllerFix/Properties/AssemblyInfo.cs b/TrackedControllerFix/Properties/AssemblyInfo.cs index 3163e43..91426a4 100644 --- a/TrackedControllerFix/Properties/AssemblyInfo.cs +++ b/TrackedControllerFix/Properties/AssemblyInfo.cs @@ -25,6 +25,6 @@ using System.Reflection; namespace NAK.Melons.TrackedControllerFix.Properties; internal static class AssemblyInfoParams { - public const string Version = "1.0.0"; + public const string Version = "1.0.1"; public const string Author = "NotAKidoS"; } \ No newline at end of file