Skip to content

Commit 0608924

Browse files
hardcorepinklawwong
authored andcommitted
Update SteamVRModule.cs
1 parent 3273593 commit 0608924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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+
}

0 commit comments

Comments
 (0)