summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/otg/mouse.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/hid/otg/mouse.py')
-rw-r--r--kvmd/plugins/hid/otg/mouse.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/kvmd/plugins/hid/otg/mouse.py b/kvmd/plugins/hid/otg/mouse.py
index 0c1a0946..91c2967e 100644
--- a/kvmd/plugins/hid/otg/mouse.py
+++ b/kvmd/plugins/hid/otg/mouse.py
@@ -21,7 +21,6 @@
from typing import Generator
-from typing import Optional
from typing import Any
from ....logging import get_logger
@@ -145,8 +144,8 @@ class MouseProcess(BaseDeviceProcess):
def __make_report(
self,
- relative_event: Optional[MouseRelativeEvent]=None,
- wheel_event: Optional[MouseWheelEvent]=None,
+ relative_event: (MouseRelativeEvent | None)=None,
+ wheel_event: (MouseWheelEvent | None)=None,
) -> bytes:
if self.__absolute: