mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 17:09:24 +00:00
removed key press delay
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user