As it's analog, you'll need two analog examining pins with your microcontroller to ascertain X and Y. Possessing an extra electronic enter will let you go through the change. Notice that this example assumes you're using an Arduino-appropriate board that supports the Joystick library, such as the Arduino Leonardo or https://louisiqqph.ssnblog.com/37001537/how-much-you-need-to-expect-you-ll-pay-for-a-good-diy-arcade-parts