diff options
Diffstat (limited to 'kvmd/validators')
-rw-r--r-- | kvmd/validators/kvm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py index f89b1b8a..6ae92fa4 100644 --- a/kvmd/validators/kvm.py +++ b/kvmd/validators/kvm.py @@ -96,8 +96,8 @@ def valid_hid_mouse_button(arg: Any) -> str: return check_string_in_list(arg, "HID mouse button", ["left", "right", "middle", "up", "down"]) -def valid_hid_mouse_wheel(arg: Any) -> int: - arg = valid_number(arg, name="HID mouse wheel") +def valid_hid_mouse_delta(arg: Any) -> int: + arg = valid_number(arg, name="HID mouse delta") return min(max(-127, arg), 127) |