summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-11-03 18:28:28 +0200
committerMaxim Devaev <[email protected]>2024-11-03 18:28:28 +0200
commitd93639ba8dcd003f82221f4ed99159755f2213c3 (patch)
treecc3291955215ec1455f26922f50de27563d47a5f /kvmd/plugins/hid/__init__.py
parent1e277c0f06f25e67a35a1b2910ed59333f97f6c0 (diff)
hid with granularity prototype
Diffstat (limited to 'kvmd/plugins/hid/__init__.py')
-rw-r--r--kvmd/plugins/hid/__init__.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/kvmd/plugins/hid/__init__.py b/kvmd/plugins/hid/__init__.py
index f7debe1d..73ff5d04 100644
--- a/kvmd/plugins/hid/__init__.py
+++ b/kvmd/plugins/hid/__init__.py
@@ -101,6 +101,19 @@ class BaseHid(BasePlugin): # pylint: disable=too-many-instance-attributes
raise NotImplementedError
async def poll_state(self) -> AsyncGenerator[dict, None]:
+ # ==== Granularity table ====
+ # - enabled -- Full
+ # - online -- Partial
+ # - busy -- Partial
+ # - connected -- Partial, nullable
+ # - keyboard.online -- Partial
+ # - keyboard.outputs -- Partial
+ # - keyboard.leds -- Partial
+ # - mouse.online -- Partial
+ # - mouse.outputs -- Partial, follows with absolute
+ # - mouse.absolute -- Partial, follows with outputs
+ # ===========================
+
yield {}
raise NotImplementedError