Leonardo sending usb keyboard commands (and using ethernet).

Hello all, I am just getting started in the world of arduino and already have a project planned out. Basically, i want to use my phone or computer to send commands to the arduino with an Ethernet shield. I then want those commands to tell the arduino to emulate keyboard button presses on the device i am controlling (a non-PC console that only accepts keyboard inputs). So obviously i would like to do this remotely. Any tips that can help me out or point me in the right direction would be greatly appreciated. I will gladly answer any other questions about my project if you are interested. Thanks again!