From 4d668e9c1aa5162965437f0186924f6e56432bbd Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 1 Oct 2019 21:23:45 +0300 Subject: refactoring --- kvmd/plugins/hid/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmd/plugins/hid/__init__.py') diff --git a/kvmd/plugins/hid/__init__.py b/kvmd/plugins/hid/__init__.py index 5bc5ca52..4e0ce5ea 100644 --- a/kvmd/plugins/hid/__init__.py +++ b/kvmd/plugins/hid/__init__.py @@ -51,10 +51,10 @@ class BaseHid(BasePlugin): async def send_key_event(self, key: str, state: bool) -> None: raise NotImplementedError - async def send_mouse_move_event(self, to_x: int, to_y: int) -> None: + async def send_mouse_button_event(self, button: str, state: bool) -> None: raise NotImplementedError - async def send_mouse_button_event(self, button: str, state: bool) -> None: + async 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: -- cgit v1.2.3