Apple Keyboard Media Key Event Handling
The new Apple keyboards now have “media keys” for Previous, Next and Play/Pause. As of yet there doesn’t appear to be any public API for developers to use these keys in your own application. But this post to the CocoaDev mailing list from Peter Maurer reveals a way.