This module combines two potentiometers and a pushbutton switch into a solid mechanical package with an ergonomic thumb dome. Perfect for controlling motors, servos, etc. The potentiometers track the position of the joystick in two dimensions and the button responds to downward pressure. Springs pull the joystick back to the center position. This joystick provides a smooth, fluid motion, strong click reply and a straight forward interface. There are 5 pins on the board: VCC, GND, X, Y and Button.