As it's analog, You will need two analog reading pins on your microcontroller to find out X and Y. Getting an extra digital input will Enable you to read the swap. Contrary to most arcade-design and style joysticks, which include four clicking switches, this product or service has two 10KΩ https://gpadtester00875.blog2learn.com/85623692/the-fact-about-arcade-joystick-that-no-one-is-suggesting