screen.print(50, 50, "xL"..buttons.analoglx)
screen.print(100, 100, "yL"..buttons.analogly)
screen.print(150, 50, "xR"..buttons.analogrx)
screen.print(200, 100, "yR"..buttons.analogry)
Hi, I'm working with an analog joystick and I can read from 128 to -128. The problem is that all the axis readings are the same.
some mathematical code
to pass 0 to 255 , 0 to 100