Thanks for the library, it has been very useful in my work. I have a question: do you know of a good way of detecting the resumption of user activity once performSelector:withObject:afterSystemIdleTime: has called the selector?

CGEventSourceSecondsSinceLastEventType looks promising, but I would have to continually poll that call. I'm sure there is a better way.

Thanks