From 977c8a1ade70969b0bb588ac119105e6b4f29394 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 24 Sep 2021 09:33:15 +0300 Subject: refactoring --- kvmd/plugins/hid/otg/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kvmd/plugins/hid/otg/__init__.py') 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"), -- cgit v1.2.3