From: terencehill Date: Thu, 13 Feb 2020 16:09:12 +0000 (+0100) Subject: Slider for mouse acceleration factor replacing the pointless checkbox X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fterencehill%2Fmenu_mouse_accel_factor;p=xonotic%2Fxonotic-data.pk3dir.git Slider for mouse acceleration factor replacing the pointless checkbox --- diff --git a/qcsrc/menu/xonotic/dialog_settings_input.qc b/qcsrc/menu/xonotic/dialog_settings_input.qc index b025c3aff..a2d197987 100644 --- a/qcsrc/menu/xonotic/dialog_settings_input.qc +++ b/qcsrc/menu/xonotic/dialog_settings_input.qc @@ -72,7 +72,8 @@ void XonoticInputSettingsTab_fill(entity me) e.onClick = CheckBox_Click_Redisplay; e.onClickEntity = e; me.TR(me); - me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "m_accelerate", _("Enable built in mouse acceleration"))); + me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Acceleration factor:"))); + me.TD(me, 1, 2, e = makeXonoticSlider(1, 4, 0.1, "m_accelerate")); me.TR(me); if(cvar_type("vid_dgamouse") & CVAR_TYPEFLAG_ENGINE) {