Joystick is an input device. It is specially used to play game in computer. It contains different types of buttons. These buttons are use according to the game's software. That control character or machine in a computer program, such as a plane in a flight simulator. 

For examples: we can see below.


Fig: Joystick