You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/InputSystem/InputSettings.cs
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -855,6 +855,23 @@ public enum ScrollDeltaBehavior
855
855
/// <summary>
856
856
/// Determines how the applications behaves when running in the background. See <see cref="backgroundBehavior"/>.
857
857
/// </summary>
858
+
/// <remarks>
859
+
/// Limitations:
860
+
///
861
+
/// Receiving input while the application is not in the foreground is platform and device-dependent, and should not be relied upon.
862
+
/// IgnoreFocus does not grant the ability to receive input in the background; it only prevents the Input System from resetting/disabling devices on focus changes.
863
+
///
864
+
/// Specifically:
865
+
///
866
+
/// Keyboard: InputSystem doesn't receive events while unfocused.
867
+
/// Even on platforms where OS-level hooks could technically capture background keyboard input, Unity doesn't forward it to the managed Input System.
868
+
///
869
+
/// Mouse: Only receives events when the cursor is hovering over the application window.
870
+
///
871
+
/// XR HMDs: May continue receiving tracking data while unfocused, depending on the XR runtime.
872
+
/// These devices report canRunInBackground == true and are the primary use case for ResetAndDisableNonBackgroundDevices,
873
+
/// which leaves them untouched while resetting everything else.
0 commit comments