From 28f86fb45b71fb2d1398e34b4508e10f936ad01f Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Mon, 14 Jan 2019 14:46:47 +0100 Subject: [PATCH] removed key press delay --- MacPass/MPKeyTyper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPKeyTyper.m b/MacPass/MPKeyTyper.m index 7a0b144e..98a2502a 100644 --- a/MacPass/MPKeyTyper.m +++ b/MacPass/MPKeyTyper.m @@ -52,7 +52,7 @@ /* Send the event */ CGEventPost(kCGHIDEventTap, pressKey); /* TODO: Evaluate postToPid */ - usleep(0.025 * NSEC_PER_MSEC); + //usleep(0.025 * NSEC_PER_MSEC); CGEventPost(kCGHIDEventTap, releaseKey); CFRelease(pressKey);