removed joystick code