Here is one way to do it. This will allow you to Attack/Be Attacked: (NOTE: I no longer have XP installed, so these screenshots are with VX. But it will be almost exactly the same regardless)
Enemy Being Attacked:
If you want to be able to use keys from the entire Keyboard, you can use scripts. Such as THIS ONE.
If you want to see the above example expanded, then you can check out the Event Based Battle System I posted three years ago by going: http://www.rpgrevolution.com/forums/index....ic=5095&hl=
. It works exactly how I did it in the images above. It features Magic attacks, Ranged attacks, and limited AI (But hey, it's something)
If you want to give your enemies 'vision', here is a Vision system I did using events three years ago: http://www.rpgrevolution.com/forums/index....ic=6482&hl=
Hopefully this is enough information to get you started.