diff options
Diffstat (limited to 'kvmd/plugins/hid/otg/mouse.py')
-rw-r--r-- | kvmd/plugins/hid/otg/mouse.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/otg/mouse.py b/kvmd/plugins/hid/otg/mouse.py index 172ed666..a31d7ae5 100644 --- a/kvmd/plugins/hid/otg/mouse.py +++ b/kvmd/plugins/hid/otg/mouse.py @@ -61,7 +61,12 @@ class _WheelEvent(BaseEvent): # ===== class MouseProcess(BaseDeviceProcess): def __init__(self, **kwargs: Any) -> None: - super().__init__(name="mouse", **kwargs) + super().__init__( + name="mouse", + read_size=0, + initial_state={}, + **kwargs, + ) self.__pressed_buttons: int = 0 self.__x = 0 |