diff options
author | Maxim Devaev <[email protected]> | 2021-09-24 09:33:15 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-09-24 09:33:15 +0300 |
commit | 977c8a1ade70969b0bb588ac119105e6b4f29394 (patch) | |
tree | 921a0da0fdf13fe6b258e57077abaf02bee34d17 /kvmd/plugins/hid/bt | |
parent | 27f04a0967db92bdf985bfa7e280e5042dd47d0d (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/hid/bt')
-rw-r--r-- | kvmd/plugins/hid/bt/__init__.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kvmd/plugins/hid/bt/__init__.py b/kvmd/plugins/hid/bt/__init__.py index e2ef51e4..5606a132 100644 --- a/kvmd/plugins/hid/bt/__init__.py +++ b/kvmd/plugins/hid/bt/__init__.py @@ -110,17 +110,17 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes "product": Option("HID Device"), "description": Option("Bluetooth Keyboard & Mouse"), - "iface": Option("hci0", type=valid_stripped_string_not_empty), - "alias": Option("PiKVM HID"), + "iface": Option("hci0", type=valid_stripped_string_not_empty), + "alias": Option("PiKVM HID"), - "pairing_required": Option(True, type=valid_bool), - "auth_required": Option(False, type=valid_bool), - "control_public": Option(True, type=valid_bool), - "unpair_on_close": Option(True, type=valid_bool), + "pairing_required": Option(True, type=valid_bool), + "auth_required": Option(False, type=valid_bool), + "control_public": Option(True, type=valid_bool), + "unpair_on_close": Option(True, type=valid_bool), - "max_clients": Option(1, type=valid_int_f1), - "socket_timeout": Option(5.0, type=valid_float_f01), - "select_timeout": Option(1.0, type=valid_float_f01), + "max_clients": Option(1, type=valid_int_f1), + "socket_timeout": Option(5.0, type=valid_float_f01), + "select_timeout": Option(1.0, type=valid_float_f01), } def sysprep(self) -> None: |