diff options
author | Devaev Maxim <[email protected]> | 2019-09-30 07:36:50 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-30 07:36:50 +0300 |
commit | 5b8ac7ba70ee0ade4139fa888a23e4d4d3eb22cd (patch) | |
tree | 555dac169b54ccda90d947f965378002d5c75f96 /kvmd/validators/kvm.py | |
parent | eb445ca45dc6cd002d2d13889000adda0639f81d (diff) |
added middle button
Diffstat (limited to 'kvmd/validators/kvm.py')
-rw-r--r-- | kvmd/validators/kvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py index b49123e1..3a1c437b 100644 --- a/kvmd/validators/kvm.py +++ b/kvmd/validators/kvm.py @@ -76,7 +76,7 @@ def valid_hid_mouse_move(arg: Any) -> int: def valid_hid_mouse_button(arg: Any) -> str: - return check_string_in_list(arg, "HID mouse button", ["left", "right"]) + return check_string_in_list(arg, "HID mouse button", ["left", "right", "middle"]) def valid_hid_mouse_wheel(arg: Any) -> int: |