summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/validators/kvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py
index 29b45500..b49123e1 100644
--- a/kvmd/validators/kvm.py
+++ b/kvmd/validators/kvm.py
@@ -81,4 +81,4 @@ def valid_hid_mouse_button(arg: Any) -> str:
def valid_hid_mouse_wheel(arg: Any) -> int:
arg = valid_number(arg, name="HID mouse wheel")
- return min(max(-128, arg), 127)
+ return min(max(-127, arg), 127)