Python class to support xbox 360 controller