As the joystick is moved, the potentiometers’ resistance improvements, resulting in different voltage degrees that can be study by a microcontroller or other processing unit. There's a Specific map, identified as "Mouse Pointer" which transforms the unit right into a mouse cursor pointer. The LED flashes to point suitable operation. https://analogstick02108.blogacep.com/43532156/how-much-you-need-to-expect-you-ll-pay-for-a-good-analog-stick