summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2020-11-03 04:50:08 +0300
committerGitHub <[email protected]>2020-11-03 04:50:08 +0300
commit544f4b3fecb84e2ae21eb71ec0c37c8bec38261c (patch)
tree9199dba963bf8dde4cf4137f61b0cb5119fb7159 /kvmd/plugins/hid/__init__.py
parent6ec82dde5d4eb4b52956fff2029f33c4e651b919 (diff)
Relative (#18)
* refactoring * basic relative mouse mode
Diffstat (limited to 'kvmd/plugins/hid/__init__.py')
-rw-r--r--kvmd/plugins/hid/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd/plugins/hid/__init__.py b/kvmd/plugins/hid/__init__.py
index e81ea168..ec187578 100644
--- a/kvmd/plugins/hid/__init__.py
+++ b/kvmd/plugins/hid/__init__.py
@@ -59,6 +59,9 @@ class BaseHid(BasePlugin):
def send_mouse_move_event(self, to_x: int, to_y: int) -> None:
raise NotImplementedError
+ def send_mouse_relative_event(self, delta_x: int, delta_y: int) -> None:
+ pass # FIXME: SPI
+
def send_mouse_wheel_event(self, delta_x: int, delta_y: int) -> None:
raise NotImplementedError