So, I have a gamepad, and I want to bind the buttons on the gamepad to keyboard keystrokes. Also, I want to bind one of the gamepads axis to mouse movement. Any idea on how to do this?

I have used jscalibrator to calibrate the gamepad, so I know the gamepad itself is working.

Thanks

-Chris P