use new joystick code