Thanks Rick. Those links, especially the one to the Carbon docs, looks helpful. What I am really trying to do is implement a user-was-idle class. I have my app tracking the mouse, but not knowning when a user presses a key is a severe limitation.
Unfortunately, I hardly know anything Carbon so it is hard to make sense of the Carbon docs. Is there some method I can override, post a notification and then just call super's implimentation of the method?