From 43afd9acb3a7f2c94a3515f580ec3afcee720dc2 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 22 May 2020 21:07:54 +0300 Subject: server-side paste-as-keys --- kvmd/plugins/hid/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kvmd/plugins/hid/__init__.py') diff --git a/kvmd/plugins/hid/__init__.py b/kvmd/plugins/hid/__init__.py index bc391b03..5227d673 100644 --- a/kvmd/plugins/hid/__init__.py +++ b/kvmd/plugins/hid/__init__.py @@ -48,19 +48,19 @@ class BaseHid(BasePlugin): # ===== - async def send_key_event(self, key: str, state: bool) -> None: + def send_key_event(self, key: str, state: bool) -> None: raise NotImplementedError - async def send_mouse_button_event(self, button: str, state: bool) -> None: + def send_mouse_button_event(self, button: str, state: bool) -> None: raise NotImplementedError - async def send_mouse_move_event(self, to_x: int, to_y: int) -> None: + def send_mouse_move_event(self, to_x: int, to_y: int) -> None: raise NotImplementedError - async def send_mouse_wheel_event(self, delta_x: int, delta_y: int) -> None: + def send_mouse_wheel_event(self, delta_x: int, delta_y: int) -> None: raise NotImplementedError - async def clear_events(self) -> None: + def clear_events(self) -> None: raise NotImplementedError -- cgit v1.2.3