Python Joystick Needed

Hi guys, I had recently seen some 3D mice devices that work perfect with Blender.

I would like to do the same with an gamepad controller on Windows.

Examples with XBOX 360 Gamepad

  1. If I move the left stick on active 3D Viewport then the camera will rotate, while the right stick will be zoom in and out. Very useful for sculpting mode, where you need to supervise your model with one hand and draw with the other hand.

  2. When in camera movement (Shift-F) I will be able to navigate with it, left stick movement, right stick rotations.

x. There are plenty of other usages I could think of, but these to seem good for me at this point.

Any ideas how to provide joystick support to Blender?