mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 11:42:30 +00:00
Merge branch 'master' of https://github.com/mstarke/MacPass
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user