summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-27 23:58:29 +0300
committerMaxim Devaev <[email protected]>2022-03-27 23:58:29 +0300
commit267aef7790741694fade25766c6cc1cd4de61be1 (patch)
tree0e2ad7b3460b29f2e69f7350ecc968a5eaeb4616 /kvmd/plugins
parent8e2688d82007698bafee0aed77db679029df9cb8 (diff)
default values for the otg hid plugin
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/hid/otg/__init__.py4
1 files changed, 2 insertions, 2 deletions
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),