Exemplo n.º 1
0
 public extern static CGEventRef CGEventCreateMouseEvent(CGEventSourceRef source, CGEventType mouseType,
                                                         CGPoint mouseCursorPosition, CGMouseButton mouseButton);
Exemplo n.º 2
0
 public extern static CGEventRef CGEventCreateKeyboardEvent(CGEventSourceRef source, CGKeyCode virtualKey, bool keyDown);
Exemplo n.º 3
0
 public extern static CGEventRef CGEventCreate(CGEventSourceRef source);