Working version of joystick program for Xbox 360 controller.