Because it's analog, you'll need two analog looking at pins on the microcontroller to find out X and Y. Possessing an extra electronic enter will let you read the change. Be aware that this instance assumes you happen to be making use of an Arduino-appropriate board that supports the Joystick https://analog-joystick76058.blogoscience.com/44586453/joystick-controller-can-be-fun-for-anyone