Since it's analog, you'll need two analog reading pins on your own microcontroller to determine X and Y. Owning an extra electronic input will Enable you to read the swap. Unlike most arcade-fashion joysticks, which come with four clicking switches, this product or service has two 10KΩ potentiometers along with https://mortonc161yxs1.wikinstructions.com/user