implemented joystick interface