When your stick is not really but fitted to your panel, take out the four screws around the front in the faceplate and remove the swivel assembly. This code reads the analog values from the joystick's X and Y pins, converts them into corresponding voltage values, and prints them over https://joystick-controller77642.blogchaat.com/38363566/analog-joystick-fundamentals-explained