Support setting mouse sensitivity to 0 in UI

On RetroPie, it seems that the joystick input is mixed up with mouse
input, causing both joystick and mouse code to run in response to stick
input. this makes the game impossible to play with a gamepad.

Setting sensitivity to 0 solves this problem, this change just makes it
possible in the UI
This commit is contained in:
Larry Davis 2020-12-10 17:08:26 +00:00
parent 5e78fd5ef4
commit 693803c764

View file

@ -1456,7 +1456,7 @@ Options_MenuInit(void)
s_options_sensitivity_slider.generic.y = 60;
s_options_sensitivity_slider.generic.name = "mouse speed";
s_options_sensitivity_slider.generic.callback = MouseSpeedFunc;
s_options_sensitivity_slider.minvalue = 2;
s_options_sensitivity_slider.minvalue = 0;
s_options_sensitivity_slider.maxvalue = 22;
s_options_alwaysrun_box.generic.type = MTYPE_SPINCONTROL;