As it's analog, you'll need two analog looking through pins on your microcontroller to determine X and Y. Acquiring an extra digital input will Enable you to read the switch. The copyright Dual Analog FlightStick featured twin analog sticks and was used in games like Descent to supply a Substantially https://joystickcontroller48914.blogdomago.com/36871150/analog-stick-fundamentals-explained