Skip to content

Commit 9335491

Browse files
Fix simulating key press events in sequences
1 parent 5e13a93 commit 9335491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SharpHook/EventSimulationSequenceBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public IEventSimulationSequenceBuilder AddKeyPress(KeyCode keyCode)
6161
{
6262
this.events.Add(new()
6363
{
64-
Type = EventType.KeyReleased,
64+
Type = EventType.KeyPressed,
6565
Keyboard = new() { KeyCode = keyCode }
6666
});
6767

0 commit comments

Comments
 (0)