Skip to content

Commit 6dbecd4

Browse files
committed
Fixed unintended indent change in AddKeyDown.
1 parent 0c04f70 commit 6dbecd4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/GregsStack.InputSimulatorStandard/InputBuilder.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ public InputBuilder AddKeyDown(VirtualKeyCode keyCode)
106106
Type = (uint)InputType.Keyboard,
107107
Data =
108108
{
109-
Keyboard =
110-
new KeyboardInput
111-
{
112-
KeyCode = (ushort) code ,
113-
Scan = (ushort)(NativeMethods.MapVirtualKey((uint)code, 0) & 0xFFU),
114-
Flags = IsExtendedKey(keyCode) ? (uint) KeyboardFlag.ExtendedKey : 0,
115-
Time = 0,
116-
ExtraInfo = IntPtr.Zero
117-
}
109+
Keyboard =
110+
new KeyboardInput
111+
{
112+
KeyCode = (ushort) code ,
113+
Scan = (ushort)(NativeMethods.MapVirtualKey((uint)code, 0) & 0xFFU),
114+
Flags = IsExtendedKey(keyCode) ? (uint) KeyboardFlag.ExtendedKey : 0,
115+
Time = 0,
116+
ExtraInfo = IntPtr.Zero
117+
}
118118
}
119119
};
120120

0 commit comments

Comments
 (0)