option for cumulative scrolling mode

This commit is contained in:
Maxim Devaev
2023-04-25 04:53:02 +03:00
parent cbf0a8b8f2
commit b8b0ad2874
3 changed files with 26 additions and 13 deletions

View File

@@ -294,6 +294,15 @@
</div>
</td>
</tr>
<tr>
<td>Cumulative scrolling:</td>
<td align="right">
<div class="switch-box">
<input type="checkbox" id="hid-mouse-cumulative-scrolling-switch">
<label for="hid-mouse-cumulative-scrolling-switch"><span class="switch-inner"></span><span class="switch"></span></label>
</div>
</td>
</tr>
<tr>
<td>Scroll rate:</td>
<td class="value-slider">

View File

@@ -84,6 +84,8 @@ li(id="system-dropdown" class="right")
+menu_switch_notable("hid-mouse-squash-switch", "Squash relative moves", true, true)
tr
+menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse scrolling", true, false)
tr
+menu_switch_notable("hid-mouse-cumulative-scrolling-switch", "Cumulative scrolling", true, false)
tr
td Scroll rate:
td(class="value-slider") #[input(type="range" id="hid-mouse-scroll-slider" class="slider")]