Added the function for manipulate T-frog using joystick