Skip to content

Commit b1fbc4f

Browse files
Fix StickControl white space.
1 parent d392a56 commit b1fbc4f

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

Packages/com.unity.inputsystem/InputSystem/Runtime/Controls/StickControl.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ public class StickControl : Vector2Control
7272
/// <remarks>
7373
/// The control is marked as <see cref="InputControl.synthetic"/>.
7474
/// </remarks>
75-
[InputControl(useStateFrom = "y", processors = "axisDeadzone", parameters = "clamp=2,clampMin=0,clampMax=1",
76-
synthetic = true, displayName = "Up")]
75+
[InputControl(useStateFrom = "y", processors = "axisDeadzone", parameters = "clamp=2,clampMin=0,clampMax=1", synthetic = true, displayName = "Up")]
7776
// Set min&max on XY axes. We do this here as the documentation generator will not be happy
7877
// if we place this above the doc comment.
7978
// Also puts AxisDeadzones on the axes.
@@ -88,8 +87,7 @@ public class StickControl : Vector2Control
8887
/// <remarks>
8988
/// The control is marked as <see cref="InputControl.synthetic"/>.
9089
/// </remarks>
91-
[InputControl(useStateFrom = "y", processors = "axisDeadzone",
92-
parameters = "clamp=2,clampMin=-1,clampMax=0,invert", synthetic = true, displayName = "Down")]
90+
[InputControl(useStateFrom = "y", processors = "axisDeadzone", parameters = "clamp=2,clampMin=-1,clampMax=0,invert", synthetic = true, displayName = "Down")]
9391
public ButtonControl down { get; set; }
9492

9593
/// <summary>
@@ -99,8 +97,7 @@ public class StickControl : Vector2Control
9997
/// <remarks>
10098
/// The control is marked as <see cref="InputControl.synthetic"/>.
10199
/// </remarks>
102-
[InputControl(useStateFrom = "x", processors = "axisDeadzone",
103-
parameters = "clamp=2,clampMin=-1,clampMax=0,invert", synthetic = true, displayName = "Left")]
100+
[InputControl(useStateFrom = "x", processors = "axisDeadzone", parameters = "clamp=2,clampMin=-1,clampMax=0,invert", synthetic = true, displayName = "Left")]
104101
public ButtonControl left { get; set; }
105102

106103
/// <summary>
@@ -110,8 +107,7 @@ public class StickControl : Vector2Control
110107
/// <remarks>
111108
/// The control is marked as <see cref="InputControl.synthetic"/>.
112109
/// </remarks>
113-
[InputControl(useStateFrom = "x", processors = "axisDeadzone", parameters = "clamp=2,clampMin=0,clampMax=1",
114-
synthetic = true, displayName = "Right")]
110+
[InputControl(useStateFrom = "x", processors = "axisDeadzone", parameters = "clamp=2,clampMin=0,clampMax=1", synthetic = true, displayName = "Right")]
115111
public ButtonControl right { get; set; }
116112

117113
protected override void FinishSetup()

0 commit comments

Comments
 (0)