Add compatible joystick code