diff options
author | Devaev Maxim <[email protected]> | 2019-09-24 06:19:29 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-24 06:19:29 +0300 |
commit | d3d885e1801392fffbd07656f8692c5be6014edd (patch) | |
tree | ce8f5dfed01d9d5f1823b45c82c86635ee2b9786 /kvmd/plugins/hid/__init__.py | |
parent | e97a2ea251dc2063998122f750940cf8e690d211 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/hid/__init__.py')
-rw-r--r-- | kvmd/plugins/hid/__init__.py | 8 |
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]: |