diff options
author | Maxim Devaev <[email protected]> | 2021-09-24 09:33:15 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-09-24 09:33:15 +0300 |
commit | 977c8a1ade70969b0bb588ac119105e6b4f29394 (patch) | |
tree | 921a0da0fdf13fe6b258e57077abaf02bee34d17 /kvmd/plugins/hid/otg | |
parent | 27f04a0967db92bdf985bfa7e280e5042dd47d0d (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/hid/otg')
-rw-r--r-- | kvmd/plugins/hid/otg/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index 5d88fe40..2df354f9 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -94,13 +94,13 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes "write_retries": Option(150, type=valid_int_f1), }, "mouse": { - "device": Option("", type=valid_abs_path, unpack_as="device_path"), - "select_timeout": Option(0.1, type=valid_float_f01), - "queue_timeout": Option(0.1, type=valid_float_f01), - "write_retries": Option(150, type=valid_int_f1), - "absolute": Option(True, type=valid_bool), + "device": Option("", type=valid_abs_path, unpack_as="device_path"), + "select_timeout": Option(0.1, type=valid_float_f01), + "queue_timeout": Option(0.1, type=valid_float_f01), + "write_retries": Option(150, type=valid_int_f1), + "absolute": Option(True, type=valid_bool), "absolute_win98_fix": Option(False, type=valid_bool), - "horizontal_wheel": Option(True, type=valid_bool), + "horizontal_wheel": Option(True, type=valid_bool), }, "mouse_alt": { "device": Option("", type=valid_abs_path, if_empty="", unpack_as="device_path"), |