Query; Is there any way to edit the keyboard input?

My first game idea I want to be largely keyboard controlled, but I want to include a preferences option and I have no idea how to make the keyboard control attacks an' such. As far as I can tell the keyboard control only includes using the numerical keypad to control movement.

------------------
"High explosives are applicable where truth and logic fail."
"Get thee down. Be thou funky."