In case your stick is not really but fitted into a panel, remove the four screws to the front of the faceplate and take away the swivel assembly. This code reads the analog values from a joystick's X and Y pins, converts them into corresponding voltage values, and prints them https://harrisonf963eln1.wikibriefing.com/user