This commit is contained in:
michael starke
2014-08-09 16:25:54 +02:00

View File

@@ -196,6 +196,7 @@
/* Send the event */ /* Send the event */
CGEventPost(kCGSessionEventTap, pressKey); CGEventPost(kCGSessionEventTap, pressKey);
usleep(100000);
CGEventPost(kCGSessionEventTap, releaseKey); CGEventPost(kCGSessionEventTap, releaseKey);
CFRelease(pressKey); CFRelease(pressKey);