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

I worked for me too! thanks!