I use a PS3 controller and MotionJoy drivers. Works perfect in all windows games and is very easy to tweak to your needs if a game does not support all buttons or even emulate a xbox controller.

Just google MotionJoy.