Possible Duplicate:
OSX HID Filter for Secondary Keyboard?
I would like to write a Mac OSX Application that captures keyboard events on a second keyboard and consume them before other apps get notified? I don't my app to be notified of a keystroke on the main computer keyboard, just the second one. And I don't want other apps to get the keystroke, I want to consume it. Anyone here know the best way to go about this?