I have found this: Programmatically Disable Mouse & keyboard
But if I copy the code to an new proj and try build it it says build failed. But there are no errors in the code it self.
Now my question is how i use event taps to do this (disable the keyboard)
Thanks for any suggestions. I'm new developing Mac OS X apps, so please forgive me if I ask something stupid.