summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/hid/__init__.py')
-rw-r--r--kvmd/plugins/hid/__init__.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/kvmd/plugins/hid/__init__.py b/kvmd/plugins/hid/__init__.py
index cbab9775..bb4ec677 100644
--- a/kvmd/plugins/hid/__init__.py
+++ b/kvmd/plugins/hid/__init__.py
@@ -43,6 +43,11 @@ class BaseHid(BasePlugin):
async def reset(self) -> None:
raise NotImplementedError
+ async def cleanup(self) -> None:
+ pass
+
+ # =====
+
async def send_key_event(self, key: str, state: bool) -> None:
raise NotImplementedError
@@ -58,9 +63,6 @@ class BaseHid(BasePlugin):
async def clear_events(self) -> None:
raise NotImplementedError
- async def cleanup(self) -> None:
- pass
-
# =====
def get_hid_class(name: str) -> Type[BaseHid]: