looking at your last picture, the in and out value are strange.
it is like you twist the joystick completely on one side, but the out value is out of the range you define.
I’m wondering if the potentiometer of this axis is broken.
can you check the behaviour in windows control panel? is it centre when no action? does it move from left to right correctly?
you should have something like the picture below.
x is your centre value, I don’t know what is your number, but, according to your calibration, it should be between -512 and +512.
