Since the joystick is moved, the potentiometers’ resistance changes, resulting in varying voltage amounts that could be browse by a microcontroller or other processing unit.Note that this instance assumes you're applying an Arduino-compatible board that supports the Joystick library, like the Arduino Leonardo or Micro. For other gaming systems or