Because it's analog, You'll have two analog looking through pins on your microcontroller to find out X and Y. Owning an extra digital enter will let you read through the swap. You will find a Unique map, identified as "Mouse Pointer" which transforms the device right into a mouse cursor https://diy-arcade-parts12108.blog-ezine.com/38365948/joystick-controller-can-be-fun-for-anyone