horizontal scrolling for otg

This commit is contained in:
Devaev Maxim
2019-10-01 05:48:20 +03:00
parent 74931a8096
commit 8cc5f631ca
7 changed files with 41 additions and 21 deletions

View File

@@ -121,8 +121,8 @@ class Plugin(BaseHid):
async def send_mouse_move_event(self, to_x: int, to_y: int) -> None:
self.__mouse_proc.send_move_event(to_x, to_y)
async def send_mouse_wheel_event(self, delta_y: int) -> None:
self.__mouse_proc.send_wheel_event(delta_y)
async def send_mouse_wheel_event(self, delta_x: int, delta_y: int) -> None:
self.__mouse_proc.send_wheel_event(delta_x, delta_y)
async def clear_events(self) -> None:
self.__keyboard_proc.send_clear_event()