Settings: Mouse sensitivity: added a text input box next to the slider
Closes #2833 (closed)
Added a text box next to the slider for adjusting mouse sensitivity.
There is primitive input validation which disallows TYPING chars which aren't 0.123456789
. This doesn't prevent ftos_mindecimals from changing the value to inf
or any repeats of .
such as 1.2.3.4
. IMHO having float string sanitation is above the scope of this MR and should not be implemented here. Perhaps at the engine level instead.
Merge request reports
Activity
changed milestone to %Xonotic 0.8.6
added MR SizeTiny Topic: Menu labels
mentioned in issue #2833 (closed)
- Resolved by terencehill
I've never seen a text field for changing the mouse sensitivity anywhere. From an UX perspective, this seems terrible. I think there are two better alternatives here:
- Add back the slider (with 0.1 step increments) and have a small textbox next to it. The value then needs to be linked between both widgets.
- Replace the textbox with a spinbox (Example: Qt, but possibly with Up and Down buttons on different sides). I don't think we already have an implementation for that.
In any case, the input for this should be validated (is a number, is in range). It will probably be enough to only have two decimal places.
removed MR SizeTiny label
- Resolved by Dr. Jaska
Could we also change the default of 6 to something lower?
2 or 3? i think a lot of mice default to somewhere around 1800dpi?
Edited by bones_was_here
changed milestone to %Xonotic 0.9
added MRWaiting For Patches label
removed MRWaiting For Patches label