if you want to use your joystick/ gamepad to control your mouse and also create custom shortcuts for certain keys or combinations of keys check this out:
http://atzitznet.no-ip.org/Joy2Mouse3/