# How to Use Joysticks to Control a Robot
Take the popular game "The Legend of Zelda: Breath of the Wild" as an example. Players use two joysticks to control the protagonist Link. Actions such as movements and camera control are accomplished with the joysticks. Have you ever wondered why game developers set these actions to be done with joysticks instead of buttons? What is the difference between programming joysticks and programming buttons?
In comparison to a button, a joystick can output command signals for movements that are not limited to a single direction. With a joystick, you can control the movement direction and speed.