summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-01 21:23:45 +0300
committerDevaev Maxim <[email protected]>2019-10-01 21:23:45 +0300
commit4d668e9c1aa5162965437f0186924f6e56432bbd (patch)
tree6f869ab05d0123c3cec2e621b7b67c15c1b370e8 /kvmd/plugins/hid/__init__.py
parentf71c06a9a9b349bf3804e698afc6686178f4968f (diff)
refactoring
Diffstat (limited to 'kvmd/plugins/hid/__init__.py')
-rw-r--r--kvmd/plugins/hid/__init__.py4
1 files changed, 2 insertions, 2 deletions
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: