summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-04-25 04:53:02 +0300
committerMaxim Devaev <[email protected]>2023-04-25 04:53:08 +0300
commitb8b0ad2874baa7f5e12a211886bf77d1cc5e8a0e (patch)
tree646b2edb7313d4e51b606cb18bd3064c65f59836 /web/kvm
parentcbf0a8b8f24c44733d57d97094075383da4381d3 (diff)
option for cumulative scrolling mode
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html9
-rw-r--r--web/kvm/navbar-system.pug2
2 files changed, 11 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 10c47d44..e76b7c63 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -295,6 +295,15 @@
</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">
<input class="slider" type="range" id="hid-mouse-scroll-slider">
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index 717b4cf8..e1054bd5 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -85,6 +85,8 @@ li(id="system-dropdown" class="right")
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")]
td(id="hid-mouse-scroll-value" class="value-number")