mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
simplified outputs api
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user