GlovePIE is good for just changing one or two keys or even changing wasd to arrows ,e.t.c.
eg:
One of my 'wasd.pie' scripts:
Key.W = Keyboard.Up
Key.S = Keyboard.Down
Key.A = Keyboard.Left
Key.D = Keyboard.Right
Key.Space = Keyboard.NUMPAD0
Key.E = Keyboard.Return
Key.ctrl = Keyboard.NUMPAD1
======================
You can do whatever u like and there is lots of pie scripts for xbox controllers too.
I edit them in Notepad++ and save as a *.pie file.
But i think any text editor will do the same job.
You just have to make sure you get the naming correct so that GlovePIE will recognize your edits.
I'm not sure how to do mouse commands ,but it's probably discussed on one of the forums out there.
P.S..Xbox pie scripts are way more complicated ,but you can download ready made ones quite easily.
EDIT:
It comes with some pre-made mouse scripts in the 'MouseScripts' folder.