diff options
Diffstat (limited to 'kvmd/plugins/hid/otg/__init__.py')
-rw-r--r-- | kvmd/plugins/hid/otg/__init__.py | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index 9a9a2aef..779c8417 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -63,20 +63,18 @@ class Plugin(BaseHid): def get_plugin_options(cls) -> Dict: return { "keyboard": { - "device": Option("", type=valid_abs_path, unpack_as="device_path"), - "select_timeout": Option(1.0, type=valid_float_f01), - "write_retries": Option(5, type=valid_int_f1), - "write_retries_delay": Option(0.1, type=valid_float_f01), - "reopen_delay": Option(0.5, type=valid_float_f01), + "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), }, "mouse": { - "device": Option("", type=valid_abs_path, unpack_as="device_path"), - "select_timeout": Option(1.0, type=valid_float_f01), - "write_retries": Option(5, type=valid_int_f1), - "write_retries_delay": Option(0.1, type=valid_float_f01), - "reopen_delay": Option(0.5, type=valid_float_f01), - "absolute": Option(True, type=valid_bool), - "horizontal_wheel": 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), + "horizontal_wheel": Option(True, type=valid_bool), }, "noop": Option(False, type=valid_bool), } |