diff options
author | Devaev Maxim <[email protected]> | 2019-09-26 02:48:43 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-26 02:49:42 +0300 |
commit | bf9e004002dd40437cb005fa317c66c7f3d5bae3 (patch) | |
tree | a270831f3d11f84f3db8fe5c4b6def09c6a46ff1 /kvmd | |
parent | df3e2875d7044a627a0b6e640746e7a24f7539a6 (diff) |
mouse wheel from -127 to +127
https://github.com/NicoHood/HID/blob/0835e6a/src/SingleReport/SingleAbsoluteMouse.cpp#L54
Diffstat (limited to 'kvmd')
-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 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) |