summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/otg/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-29 05:39:25 +0300
committerDevaev Maxim <[email protected]>2019-09-29 05:48:16 +0300
commit8f43d23089140ded59e49beaeebb01eb3ff7972c (patch)
tree5082b2de28d77730711b91b2f3eed0e08647ef44 /kvmd/plugins/hid/otg/__init__.py
parent1968aca5c4a22e90af8edce047dc037a203a3827 (diff)
hid fixes
Diffstat (limited to 'kvmd/plugins/hid/otg/__init__.py')
-rw-r--r--kvmd/plugins/hid/otg/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py
index defceba6..d17ad179 100644
--- a/kvmd/plugins/hid/otg/__init__.py
+++ b/kvmd/plugins/hid/otg/__init__.py
@@ -58,10 +58,10 @@ class Plugin(BaseHid):
def get_plugin_options(cls) -> Dict:
return {
"keyboard": {
- "device": Option("", type=valid_abs_path, unpack_as="device_path"),
- "timeout": Option(1.0, type=valid_float_f01),
- "retries": Option(5, type=valid_int_f1),
- "retries_delay": Option(1.0, type=valid_float_f01),
+ "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),
},
"noop": Option(False, type=valid_bool),