mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
option to disable jiggler
This commit is contained in:
@@ -350,7 +350,7 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr class="feature-disabled" id="hid-jiggler">
|
||||
<td>Mouse jiggler:</td>
|
||||
<td align="right">
|
||||
<div class="switch-box">
|
||||
|
||||
@@ -103,7 +103,7 @@ li(id="system-dropdown" class="right")
|
||||
table(class="kv")
|
||||
tr(id="hid-connect" class="feature-disabled")
|
||||
+menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true)
|
||||
tr
|
||||
tr(id="hid-jiggler" class="feature-disabled")
|
||||
+menu_switch_notable("hid-jiggler-switch", "Mouse jiggler", false, false)
|
||||
tr
|
||||
+menu_switch_notable("hid-mute-switch", "Mute HID input events", true, false)
|
||||
|
||||
@@ -133,7 +133,8 @@ export function Hid(__getGeometry, __recorder) {
|
||||
let has_relative_squash = false;
|
||||
|
||||
if (state) {
|
||||
$("hid-jiggler-switch").checked = !!state.jiggler.enabled;
|
||||
tools.feature.setEnabled($("hid-jiggler"), state.jiggler.enabled);
|
||||
$("hid-jiggler-switch").checked = state.jiggler.active;
|
||||
}
|
||||
if (state && state.online) {
|
||||
let keyboard_outputs = state.keyboard.outputs.available;
|
||||
|
||||
Reference in New Issue
Block a user