summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-05-24 00:17:40 +0300
committerMaxim Devaev <[email protected]>2022-05-24 00:17:40 +0300
commit55e67e32ae40c7774b160906458faaa9b98b813a (patch)
treed96b97cc55fc48a18d3bdb2e92d6c45118cb1f46 /web/kvm
parent232873a77b12640cf4361f1c58b9951ca8f3e28c (diff)
pikvm/pikvm#739: reversed mouse option
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 5b174f0b..579b0f94 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -267,6 +267,15 @@
</div>
</td>
</tr>
+ <tr>
+ <td>Reverse mouse scrolling:</td>
+ <td align="right">
+ <div class="switch-box">
+ <input type="checkbox" id="hid-mouse-reverse-scrolling-switch">
+ <label for="hid-mouse-reverse-scrolling-switch"><span class="switch-inner"></span><span class="switch"></span></label>
+ </div>
+ </td>
+ </tr>
<tr class="feature-disabled" id="hid-connect">
<td>Connect HID to Server:</td>
<td align="right">
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index 1f3ee6c4..4bbb517c 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -71,6 +71,8 @@ li(class="right")
td(id="hid-mouse-sens-value" class="value" style="min-width: 30px; max-width:30px")
tr(id="hid-mouse-squash" class="feature-disabled")
+menu_switch_notable("hid-mouse-squash-switch", "Squash relative mouse moves", true, true)
+ tr
+ +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse mouse scrolling", true, false)
tr(id="hid-connect" class="feature-disabled")
+menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true)
tr