removed key press delay

This commit is contained in:
Michael Starke
2019-01-14 14:46:47 +01:00
parent 4f339ba24e
commit 28f86fb45b

View File

@@ -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);