mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 10:26:38 +08:00
ch9329: fixed rel mouse
This commit is contained in:
parent
ddfe21d2b0
commit
c584302587
@ -58,6 +58,9 @@ class Mouse: # pylint: disable=too-many-instance-attributes
|
||||
self.__buttons |= code
|
||||
else:
|
||||
self.__buttons &= ~code
|
||||
if not self.__absolute:
|
||||
self.__to_x = (0, 0)
|
||||
self.__to_y = (0, 0)
|
||||
self.__wheel_y = 0
|
||||
return self.__make_absolute_cmd()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user