kCGEventKeyUp and kCGEventKeyDown are not working for iterm2
By samuelrondeaumilla... on March 30, 2015 02:07 (imported from Google Code)
While doing a global keylistener in C, I have discovered that when I type in the iterm console, the keys are not handled by the . This makes that the keylistener can't access what key are being typed. I am using the CGEventTap from the CoreGraphics in CGEvent.h.
What steps will reproduce the problem?
- Run a global key listener
- Go in Iterm2 and type something
- Go back to the listener and see that nothing is beeing recorded
What is the expected output?
Some keys typped
What do you see instead?
Nothing
What version of iTerm2 are you using?
BUILD 2.0.0.20141103
What OS version are you using?
Mac OSX 10.10.3
Please provide any additional information below.
It could be due to a return missing in a keylistener from iterm.