osx - Detecting all mouse and key events in app -


in app keep time stamp updates every time mouse or key event triggered. how can detect these events within app?

thanks lot!

have @ nsevent methods addglobalmonitorforeventsmatchingmask:handler: , addlocalmonitorforeventsmatchingmask:handler: (depending on whether want track events in own apps or other apps).


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -