Controller With Blender

Hello, i was wondering how to go about being able to use my usb controller with blender.
I know it has to do with scripts, but i no next to nothing about python.
If anyone could help me out that would be great.
Thanks
(The controller i have is an ‘extreme gaming’ controller, other than that i dont know what it is. It has the same buttons as a ps3controller)

NVM i figured it out just using logic bricks and the joystick sensor.