As it's analog, you'll need two analog reading pins with your microcontroller to find out X and Y. Having an additional electronic input will Enable you to go through the change. There's a Exclusive map, termed "Mouse Pointer" which transforms the unit right into a mouse cursor pointer. The joystick https://analog-joystick54948.arwebo.com/60531784/analog-stick-fundamentals-explained