added joystick interface