Increase slider precision for mouse sensitivity settings

On mice with high DPI settings, low values such as 0.1-0.3 typically
need to be used to get a comfortable effective mouse sensitivity.
This commit is contained in:
Hugo Locurcio 2023-01-15 23:51:48 +01:00 committed by Christoph Oelckers
parent 1c45890c5a
commit bf39002515
2 changed files with 4 additions and 4 deletions

View file

@ -738,8 +738,8 @@ OptionMenu "MouseOptions" protected
} }
Option "$MOUSEMNU_CURSOR", "vid_cursor", "Cursors" Option "$MOUSEMNU_CURSOR", "vid_cursor", "Cursors"
StaticText "" StaticText ""
Slider "$MOUSEMNU_SENSITIVITY_X", "m_sensitivity_x", 0.5, 8, 0.25 Slider "$MOUSEMNU_SENSITIVITY_X", "m_sensitivity_x", 0.1, 8, 0.05
Slider "$MOUSEMNU_SENSITIVITY_Y", "m_sensitivity_y", 0.5, 8, 0.25 Slider "$MOUSEMNU_SENSITIVITY_Y", "m_sensitivity_y", 0.1, 8, 0.05
StaticText "" StaticText ""
Slider "$MOUSEMNU_TURNSPEED", "m_yaw", 0, 2.5, 0.1 Slider "$MOUSEMNU_TURNSPEED", "m_yaw", 0, 2.5, 0.1
Slider "$MOUSEMNU_MOUSELOOKSPEED", "m_pitch", 0, 2.5, 0.1 Slider "$MOUSEMNU_MOUSELOOKSPEED", "m_pitch", 0, 2.5, 0.1

View file

@ -117,8 +117,8 @@ OptionMenu "MouseOptionsSimple" protected
} }
Option "$MOUSEMNU_CURSOR", "vid_cursor", "Cursors" Option "$MOUSEMNU_CURSOR", "vid_cursor", "Cursors"
StaticText "" StaticText ""
Slider "$MOUSEMNU_SENSITIVITY_X", "m_sensitivity_x", 0.5, 8, 0.25 Slider "$MOUSEMNU_SENSITIVITY_X", "m_sensitivity_x", 0.1, 8, 0.05
Slider "$MOUSEMNU_SENSITIVITY_Y", "m_sensitivity_y", 0.5, 8, 0.25 Slider "$MOUSEMNU_SENSITIVITY_Y", "m_sensitivity_y", 0.1, 8, 0.05
StaticText "" StaticText ""
Option "$MOUSEMNU_INVERTMOUSE", "invertmouse", "OnOff" Option "$MOUSEMNU_INVERTMOUSE", "invertmouse", "OnOff"
} }