Skip to content

Commit 0e17efd

Browse files
author
lawwong
committed
Fix Vive Controller spawning at 0,0,0
Close #28
2 parents 3273593 + ae5741f commit 0e17efd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Assets/HTC.UnityPlugin/VRModule/Modules/SteamVRModule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public override void OnActivated()
4343
if (system != null)
4444
{
4545
#if VIU_STEAMVR_1_2_3_OR_NEWER
46-
m_hasInputFocus = !system.IsInputAvailable();
46+
m_hasInputFocus = system.IsInputAvailable();
4747
#elif VIU_STEAMVR_1_1_1 || VIU_STEAMVR_1_2_0_OR_NEWER
4848
m_hasInputFocus = !system.IsInputFocusCapturedByAnotherProcess();
4949
#endif
@@ -261,4 +261,4 @@ private static string QueryDeviceStringProperty(CVRSystem system, uint deviceInd
261261
}
262262
#endif
263263
}
264-
}
264+
}

Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/VIUVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ namespace HTC.UnityPlugin.Vive
66
{
77
public static class VIUVersion
88
{
9-
public static readonly Version current = new Version("1.8.0.2");
9+
public static readonly Version current = new Version("1.8.0.3");
1010
}
1111
}

0 commit comments

Comments
 (0)