The joystick is an input device that is used to control the cursor.A joystick is equipped with one or more push-buttons for controlling.