I copied and pasted your code into 1.0.1. I tried to compile it. I got errors about the PS2Keyboard library missing. I shut down the IDE, downloaded and installed the library, and restarted the IDE, and pasted your code again.
Then I got this "error":
Binary sketch size: 21,272 bytes (of a 258,048 byte maximum)