summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-10-23 08:10:19 +0300
committerMaxim Devaev <[email protected]>2023-10-23 08:10:19 +0300
commit4038754c375e38d5379a701ea5d65411bfb19034 (patch)
tree16e501286e95aa88228624747bd805c652c97bc8 /web/kvm
parent73f96fa0c7fb9cda167521349c646a7b9a91253b (diff)
pikvm/pikvm#57: Mouse jiggler
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 15e1ea4e..74485ade 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -339,6 +339,15 @@
</td>
</tr>
<tr>
+ <td>Mouse jiggler:</td>
+ <td align="right">
+ <div class="switch-box">
+ <input disabled type="checkbox" id="hid-jiggler-switch">
+ <label for="hid-jiggler-switch"><span class="switch-inner"></span><span class="switch"></span></label>
+ </div>
+ </td>
+ </tr>
+ <tr>
<td>Mute HID input events:</td>
<td align="right">
<div class="switch-box">
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index 77723f9a..f8d53793 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -100,6 +100,8 @@ li(id="system-dropdown" class="right")
tr(id="hid-connect" class="feature-disabled")
+menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true)
tr
+ +menu_switch_notable("hid-jiggler-switch", "Mouse jiggler", false, false)
+ tr
+menu_switch_notable("hid-mute-switch", "Mute HID input events", true, false)
tr(id="v3-usb-breaker" class="feature-disabled")
td Connect main USB to Server: