mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-21 11:21:52 +00:00
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:
parent
5e78fd5ef4
commit
693803c764
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue