summaryrefslogtreecommitdiff
path: root/kvmd/apps
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 /kvmd/apps
parent73f96fa0c7fb9cda167521349c646a7b9a91253b (diff)
pikvm/pikvm#57: Mouse jiggler
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/api/hid.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/kvmd/api/hid.py b/kvmd/apps/kvmd/api/hid.py
index a2ea5d4c..25ef0c4f 100644
--- a/kvmd/apps/kvmd/api/hid.py
+++ b/kvmd/apps/kvmd/api/hid.py
@@ -91,6 +91,7 @@ class HidApi:
for (key, validator) in [
("keyboard_output", valid_hid_keyboard_output),
("mouse_output", valid_hid_mouse_output),
+ ("jiggler", valid_bool),
]
if request.query.get(key) is not None
}