From 548760d7de454df24416537e0c76aa4b281b877f Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Thu, 11 Sep 2025 20:55:15 -0400 Subject: [PATCH 1/7] DOCATT-8580: Fixed InputInteractionContext::Canceled typo --- .../InputSystem/Actions/IInputInteraction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Actions/IInputInteraction.cs b/Packages/com.unity.inputsystem/InputSystem/Actions/IInputInteraction.cs index b896c073ca..f29e6f4c71 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Actions/IInputInteraction.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Actions/IInputInteraction.cs @@ -239,7 +239,7 @@ public interface IInputInteraction /// if (actuationTime >= 1) /// context.Performed(); /// else - /// context.Cancelled(); + /// context.Canceled(); /// } /// /// // Control changed value somewhere above 3/4 of its actuation. Doesn't From b3ff5cbee52a47fbb66fc96f0afd9170b162c775 Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Thu, 11 Sep 2025 21:05:56 -0400 Subject: [PATCH 2/7] DOCATT-8990: Added closing quotation mark in property doc - The reader thought the sentence was cut off, but it was just missing the closing quotation. --- .../InputSystem/Actions/InputActionRebindingExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Actions/InputActionRebindingExtensions.cs b/Packages/com.unity.inputsystem/InputSystem/Actions/InputActionRebindingExtensions.cs index 0ff8a5754e..3b3f5604f7 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Actions/InputActionRebindingExtensions.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Actions/InputActionRebindingExtensions.cs @@ -381,7 +381,7 @@ public static string GetBindingDisplayString(this InputAction action, int bindin /// for which to get a display string. /// Receives the name of the used for the /// device in the given binding, if applicable. Otherwise is set to null. If, for example, the binding - /// is "<Gamepad>/buttonSouth", the resulting value is "Gamepad. + /// is "<Gamepad>/buttonSouth", the resulting value is "Gamepad". /// Receives the path to the control on the device referenced in the given binding, /// if applicable. Otherwise is set to null. If, for example, the binding is "<Gamepad>/leftStick/x", /// the resulting value is "leftStick/x". From ce91a2e6e418f48ce000b3761e28e170876039b4 Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Thu, 11 Sep 2025 21:10:54 -0400 Subject: [PATCH 3/7] DOCATT-8567: Closed the string in the example code in the docs for the Separator field and groups property --- .../com.unity.inputsystem/InputSystem/Actions/InputBinding.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Actions/InputBinding.cs b/Packages/com.unity.inputsystem/InputSystem/Actions/InputBinding.cs index 92d29faab9..cb6c83af3d 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Actions/InputBinding.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Actions/InputBinding.cs @@ -61,7 +61,7 @@ public struct InputBinding : IEquatable /// // A binding that belongs to the "Keyboard&Mouse" and "Gamepad" group. /// new InputBinding /// { - /// path = "*/{PrimaryAction}, + /// path = "*/{PrimaryAction}", /// groups = "Keyboard&Mouse;Gamepad" /// }; /// @@ -281,7 +281,7 @@ public string overrideProcessors /// /// new InputBinding /// { - /// path = "*/{PrimaryAction}, + /// path = "*/{PrimaryAction}", /// // Associate the binding both with the "KeyboardMouse" and /// // the "Gamepad" group. /// groups = "KeyboardMouse;Gamepad", From 045386ad15e816967202363dfdd9d3bff4db310c Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Fri, 12 Sep 2025 13:11:43 -0400 Subject: [PATCH 4/7] DOCATT-8841: Finished incomplete deviceLayoutName param description - Finished the sentence using other similar explanations from InputSystem/Actions/InputActionRebindingExtensions.cs and InputSystem/Actions/InputBinding.cs. --- .../InputSystem/Controls/InputControlPath.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Controls/InputControlPath.cs b/Packages/com.unity.inputsystem/InputSystem/Controls/InputControlPath.cs index b1a0aaaa3f..85e5db8c62 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Controls/InputControlPath.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Controls/InputControlPath.cs @@ -204,7 +204,7 @@ public static string ToHumanReadableString(string path, /// /// A control path such as "<XRController>{LeftHand}/position". /// Receives the name of the device layout that the control path was resolved to. - /// This is useful + /// This is useful if you want to decide on an icon to display that represents the device. /// Receives the path to the referenced control on the device or null if not applicable. /// For example, with a of "<Gamepad>/dpad/up", the resulting control path /// will be "dpad/up". This is useful when trying to look up additional resources (such as images) based on the From c44f7b452ec91c6160fec5699ad46f08d5a7c4c4 Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Mon, 15 Sep 2025 12:01:07 -0400 Subject: [PATCH 5/7] DOCATT-8597: Fix typo on Input Bindings manual page --- Packages/com.unity.inputsystem/Documentation~/ActionBindings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md b/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md index 153e0f73ae..9008096ee0 100644 --- a/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md +++ b/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md @@ -74,7 +74,7 @@ myAction.AddCompositeBinding("Axis") .With("Negative", "/leftTrigger"); ``` -Each Composite consists of one Binding that has [`InputBinding.isComposite`](../api/UnityEngine.InputSystem.InputBinding.html#UnityEngine_InputSystem_InputBinding_isComposite) set to true, followed by one or more Bindings that have [`InputBinding.isPartOfComposiste`](../api/UnityEngine.InputSystem.InputBinding.html#UnityEngine_InputSystem_InputBinding_isPartOfComposite) set to true. In other words, several consecutive entries in [`InputActionMap.bindings`](../api/UnityEngine.InputSystem.InputActionMap.html#UnityEngine_InputSystem_InputActionMap_bindings) or [`InputAction.bindings`](../api/UnityEngine.InputSystem.InputAction.html#UnityEngine_InputSystem_InputAction_bindings) together form a Composite. +Each Composite consists of one Binding that has [`InputBinding.isComposite`](../api/UnityEngine.InputSystem.InputBinding.html#UnityEngine_InputSystem_InputBinding_isComposite) set to true, followed by one or more Bindings that have [`InputBinding.isPartOfComposite`](../api/UnityEngine.InputSystem.InputBinding.html#UnityEngine_InputSystem_InputBinding_isPartOfComposite) set to true. In other words, several consecutive entries in [`InputActionMap.bindings`](../api/UnityEngine.InputSystem.InputActionMap.html#UnityEngine_InputSystem_InputActionMap_bindings) or [`InputAction.bindings`](../api/UnityEngine.InputSystem.InputAction.html#UnityEngine_InputSystem_InputAction_bindings) together form a Composite. Note that each composite part can be bound arbitrary many times. From 28796e4e49d435a10f25bc04de87dc5d5a957e6e Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Mon, 15 Sep 2025 12:07:48 -0400 Subject: [PATCH 6/7] DOCATT-8566: Corrected typo in Adding Bindings section (Input Bindings page) --- Packages/com.unity.inputsystem/Documentation~/ActionBindings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md b/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md index 9008096ee0..dfbcfe49be 100644 --- a/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md +++ b/Packages/com.unity.inputsystem/Documentation~/ActionBindings.md @@ -511,7 +511,7 @@ playerInput.actions.FindActionMap("gameplay").ChangeBinding(0).Erase(); ### Adding Bindings -New bindings can be added to an Action using [`AddAction`](../api/UnityEngine.InputSystem.InputActionSetupExtensions.html#UnityEngine_InputSystem_InputActionSetupExtensions_AddBinding_UnityEngine_InputSystem_InputAction_System_String_System_String_System_String_System_String_) or [`AddCompositeBinding`](../api/UnityEngine.InputSystem.InputActionSetupExtensions.html#UnityEngine_InputSystem_InputActionSetupExtensions_AddCompositeBinding_UnityEngine_InputSystem_InputAction_System_String_System_String_System_String_). +New bindings can be added to an Action using [`AddBinding`](../api/UnityEngine.InputSystem.InputActionSetupExtensions.html#UnityEngine_InputSystem_InputActionSetupExtensions_AddBinding_UnityEngine_InputSystem_InputAction_System_String_System_String_System_String_System_String_) or [`AddCompositeBinding`](../api/UnityEngine.InputSystem.InputActionSetupExtensions.html#UnityEngine_InputSystem_InputActionSetupExtensions_AddCompositeBinding_UnityEngine_InputSystem_InputAction_System_String_System_String_System_String_). ```CSharp // Add a binding for the left mouse button to the "fire" action. From 277351925cf39c733fbe275c8465e820b828e5a2 Mon Sep 17 00:00:00 2001 From: Amy Louise Green Date: Mon, 15 Sep 2025 21:05:30 -0400 Subject: [PATCH 7/7] DOCATT-8556: Fixed typo in InputUser.actions property --- .../InputSystem/Plugins/Users/InputUser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Plugins/Users/InputUser.cs b/Packages/com.unity.inputsystem/InputSystem/Plugins/Users/InputUser.cs index 02518240b7..5717090329 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Plugins/Users/InputUser.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Plugins/Users/InputUser.cs @@ -170,7 +170,7 @@ public ReadOnlyArray lostDevices /// cref="ActivateControlScheme(InputControlScheme)"/> and related APIs like /// and ). /// - /// Note that is generally does not make sense for users to share actions. Instead, each user should + /// Note that it generally does not make sense for users to share actions. Instead, each user should /// receive a set of actions private to the user. /// ///