diff options
author | Maxim Devaev <[email protected]> | 2024-11-03 18:28:28 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-11-03 18:28:28 +0200 |
commit | d93639ba8dcd003f82221f4ed99159755f2213c3 (patch) | |
tree | cc3291955215ec1455f26922f50de27563d47a5f /kvmd/plugins/hid/__init__.py | |
parent | 1e277c0f06f25e67a35a1b2910ed59333f97f6c0 (diff) |
hid with granularity prototype
Diffstat (limited to 'kvmd/plugins/hid/__init__.py')
-rw-r--r-- | kvmd/plugins/hid/__init__.py | 13 |
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 |