diff options
author | Devaev Maxim <[email protected]> | 2020-12-01 10:36:48 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-01 10:36:48 +0300 |
commit | 5eff81061bce75d15a3e8634ec38be2481c8b4ef (patch) | |
tree | f132aec2f2086c5c5230c90279474a27c094c436 /kvmd/plugins/hid/otg | |
parent | f4a8a117c73dc21db0960c3353184d3698484ed0 (diff) |
simplified outputs api
Diffstat (limited to 'kvmd/plugins/hid/otg')
-rw-r--r-- | kvmd/plugins/hid/otg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index e685226b..49fec56c 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -89,7 +89,7 @@ class Plugin(BaseHid): async def get_state(self) -> Dict: keyboard_state = await self.__keyboard_proc.get_state() mouse_state = await self.__mouse_proc.get_state() - outputs: Dict = {"available": {}, "active": ""} + outputs: Dict = {"available": [], "active": ""} return { "online": True, "keyboard": { |