A joystick is an input device that control a character or machine in a computer program, such as a plane in a flight simulator.