diff options
author | Maxim Devaev <[email protected]> | 2021-07-24 02:09:18 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-07-24 02:09:18 +0300 |
commit | a33efcaef3e69fb097a71198d6b8cecb02491800 (patch) | |
tree | d7cd7b79d2848133d2e988515e7e7343b63120ac /kvmd/plugins/hid/_mcu/__init__.py | |
parent | 96481aa745026b614f442e92f421fe32f83c1d90 (diff) |
disabled instead of empty string
Diffstat (limited to 'kvmd/plugins/hid/_mcu/__init__.py')
-rw-r--r-- | kvmd/plugins/hid/_mcu/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kvmd/plugins/hid/_mcu/__init__.py b/kvmd/plugins/hid/_mcu/__init__.py index bcca89b9..07aeface 100644 --- a/kvmd/plugins/hid/_mcu/__init__.py +++ b/kvmd/plugins/hid/_mcu/__init__.py @@ -179,12 +179,12 @@ class BaseMcuHid(BaseHid, multiprocessing.Process): # pylint: disable=too-many- if outputs1 & 0b10000000: # Dynamic if outputs2 & 0b00000001: # USB - keyboard_outputs["available"].extend(["usb"]) - mouse_outputs["available"].extend(["usb", "usb_rel"]) + keyboard_outputs["available"].extend(["usb", "disabled"]) + mouse_outputs["available"].extend(["usb", "usb_rel", "disabled"]) if outputs2 & 0b00000010: # PS/2 - keyboard_outputs["available"].extend(["ps2"]) - mouse_outputs["available"].extend(["ps2"]) + keyboard_outputs["available"].extend(["ps2", "disabled"]) + mouse_outputs["available"].extend(["ps2", "disabled"]) active_keyboard = get_active_keyboard(outputs1) if active_keyboard in keyboard_outputs["available"]: |