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/Devices/Gamepad.cs
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,9 @@ public struct GamepadState : IInputStateTypeInfo
142
142
/// <summary>
143
143
/// A 2D vector representing the current position of the right stick on a gamepad.
144
144
/// </summary>
145
-
/// <remarks>Each axis of the 2D vector's range goes from -1 to 1. 0 represents the stick in its center position, and -1 or 1 represents the the stick pushed to its extent in each direction along the axis.</remarks>
145
+
/// <remarks>Each axis of the 2D vector's range goes from -1 to 1.
146
+
/// 0 represents the stick in its center position.
147
+
/// -1 or 1 represents the stick pushed to its extent in each direction along the axis.</remarks>
@@ -153,7 +155,9 @@ public struct GamepadState : IInputStateTypeInfo
153
155
/// <summary>
154
156
/// The current position of the left trigger on a gamepad.
155
157
/// </summary>
156
-
/// <remarks>The value's range goes from 0 to 1, where 0 represents the trigger not pressed at all, and 1 represents the trigger in its fully pressed position.</remarks>
158
+
/// <remarks>The value's range goes from 0 to 1.
159
+
/// 0 represents the trigger in its neutral position.
160
+
/// 1 represents the trigger in its fully pressed position.</remarks>
@@ -162,7 +166,9 @@ public struct GamepadState : IInputStateTypeInfo
162
166
/// <summary>
163
167
/// The current position of the right trigger on a gamepad.
164
168
/// </summary>
165
-
/// <remarks>The value's range goes from 0 to 1, where 0 represents the trigger not pressed at all, and 1 represents the trigger in its fully pressed position.</remarks>
169
+
/// <remarks>The value's range goes from 0 to 1.
170
+
/// 0 represents the trigger in its neutral position.
171
+
/// 1 represents the trigger in its fully pressed position.</remarks>
0 commit comments