Since it's analog, you'll need two analog reading pins on your own microcontroller to find out X and Y. Getting an additional digital enter will Enable you to go through the change. Contrary to most arcade-style joysticks, which come with four clicking switches, this products has two 10KΩ potentiometers plus https://franciscoiqwdi.theblogfairy.com/37152432/the-smart-trick-of-arcade-joystick-that-nobody-is-discussing