summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/plugins/hid/otg/device.py (renamed from kvmd/plugins/hid/otg/hid.py)2
-rw-r--r--kvmd/plugins/hid/otg/keyboard.py6
-rw-r--r--kvmd/plugins/hid/otg/mouse.py6
3 files changed, 7 insertions, 7 deletions
diff --git a/kvmd/plugins/hid/otg/hid.py b/kvmd/plugins/hid/otg/device.py
index 83121b65..fbd91f59 100644
--- a/kvmd/plugins/hid/otg/hid.py
+++ b/kvmd/plugins/hid/otg/device.py
@@ -39,7 +39,7 @@ class BaseEvent:
pass
-class DeviceProcess(multiprocessing.Process): # pylint: disable=too-many-instance-attributes
+class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-instance-attributes
def __init__(
self,
name: str,
diff --git a/kvmd/plugins/hid/otg/keyboard.py b/kvmd/plugins/hid/otg/keyboard.py
index 94313a2f..cd8a1f5f 100644
--- a/kvmd/plugins/hid/otg/keyboard.py
+++ b/kvmd/plugins/hid/otg/keyboard.py
@@ -31,8 +31,8 @@ from ....logging import get_logger
from .... import keymap
-from .hid import BaseEvent
-from .hid import DeviceProcess
+from .device import BaseEvent
+from .device import BaseDeviceProcess
# =====
@@ -51,7 +51,7 @@ class _KeyEvent(BaseEvent):
# =====
-class KeyboardProcess(DeviceProcess):
+class KeyboardProcess(BaseDeviceProcess):
def __init__(self, **kwargs: Any) -> None:
super().__init__(name="keyboard", **kwargs)
diff --git a/kvmd/plugins/hid/otg/mouse.py b/kvmd/plugins/hid/otg/mouse.py
index 1c0ad1df..7c201ab6 100644
--- a/kvmd/plugins/hid/otg/mouse.py
+++ b/kvmd/plugins/hid/otg/mouse.py
@@ -27,8 +27,8 @@ from typing import Any
from ....logging import get_logger
-from .hid import BaseEvent
-from .hid import DeviceProcess
+from .device import BaseEvent
+from .device import BaseDeviceProcess
# =====
@@ -75,7 +75,7 @@ class _WheelEvent(BaseEvent):
# =====
-class MouseProcess(DeviceProcess):
+class MouseProcess(BaseDeviceProcess):
def __init__(self, **kwargs: Any) -> None:
super().__init__(name="mouse", **kwargs)