updated the joystick button code.