Completed joystick and button functionality