As it's analog, You'll have two analog reading pins with your microcontroller to find out X and Y. Obtaining an additional digital input will Permit you to examine the switch. The Preliminary prevalence of analog sticks was as peripherals for flight simulator online games, to better mirror the subtleties of https://diyarcadeparts00975.blogzet.com/joystick-controller-secrets-52883782