This commit is contained in:
twinaphex 2019-06-24 20:51:06 +02:00
parent fd98496fec
commit ca2fc9b8d8

View File

@ -2866,9 +2866,9 @@ static int16_t input_joypad_axis(const input_device_driver_t *drv,
input_analog_sensitivity;
if (new_val > 0x7fff)
new_val = 0x7fff;
return 0x7fff;
else if (new_val < -0x7fff)
new_val = -0x7fff;
return -0x7fff;
return new_val;
}