As it's analog, you'll need two analog reading pins on your microcontroller to determine X and Y. Getting an additional digital input will Permit you to read the change. You will find a Exclusive map, named "Mouse Pointer" which transforms the system right into a mouse cursor pointer. To put https://rafaelqsuvu.angelinsblog.com/37139099/top-analog-joystick-secrets