How do I set up an object to rotate by keyboard?

Nebula Games Inc is right here, this is an awkward way to set it up. But if you must do it this way, this will work well enough: