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
Post a Comment