Registering Laptop Keystrokes

The keyboard library allows the arduino to appear as a USB keyboard to a computer, so that the arduino can send key characters to the computer. Sounds like that is the opposite of what you want.