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__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/__init__.py b/kvmd/plugins/hid/__init__.py
index 5227d673..8f4cb02c 100644
--- a/kvmd/plugins/hid/__init__.py
+++ b/kvmd/plugins/hid/__init__.py
@@ -20,7 +20,9 @@
# ========================================================================== #
+from typing import Tuple
from typing import Dict
+from typing import Iterable
from typing import AsyncGenerator
from typing import Type
@@ -48,7 +50,7 @@ class BaseHid(BasePlugin):
# =====
- def send_key_event(self, key: str, state: bool) -> None:
+ def send_key_events(self, keys: Iterable[Tuple[str, bool]]) -> None:
raise NotImplementedError
def send_mouse_button_event(self, button: str, state: bool) -> None: