Since the joystick is moved, the potentiometers’ resistance modifications, resulting in various voltage amounts that could be read through by a microcontroller or other processing unit. Be aware that this instance assumes you happen to be working with an Arduino-suitable board that supports the Joystick library, like the Arduino Leonardo https://hafizo987qqo5.idblogmaker.com/profile