As the joystick is moved, the potentiometers’ resistance alterations, leading to different voltage degrees which can be study by a microcontroller or other processing device. Observe that this example assumes you happen to be utilizing an Arduino-appropriate board that supports the Joystick library, such as the Arduino Leonardo or Micro. https://holdenrdnta.bloguetechno.com/joystick-controller-secrets-73992655