From 267aef7790741694fade25766c6cc1cd4de61be1 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 27 Mar 2022 23:58:29 +0300 Subject: default values for the otg hid plugin --- kvmd/plugins/hid/otg/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmd/plugins') diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index 6f6be802..e4fca123 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -88,13 +88,13 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes def get_plugin_options(cls) -> Dict: return { "keyboard": { - "device": Option("", type=valid_abs_path, unpack_as="device_path"), + "device": Option("/dev/kvmd-hid-keyboard", 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"), + "device": Option("/dev/kvmd-hid-mouse", 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), -- cgit v1.2.3