diff options
author | Maxim Devaev <[email protected]> | 2021-08-28 19:01:13 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-08-28 19:01:13 +0300 |
commit | 2db0656df3ecd7c1f4502591c1a734905613e7ec (patch) | |
tree | 7ccf1cbd9a2e09ca12710302b6bc8fb3dc6b729e /kvmd/plugins/hid/otg/__init__.py | |
parent | 08dad87fea9cd3b5ced5642864c5e8c359e8b1cc (diff) |
unified udc code and automatic driver detection
Diffstat (limited to 'kvmd/plugins/hid/otg/__init__.py')
-rw-r--r-- | kvmd/plugins/hid/otg/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/hid/otg/__init__.py b/kvmd/plugins/hid/otg/__init__.py index f4df4c63..b038061a 100644 --- a/kvmd/plugins/hid/otg/__init__.py +++ b/kvmd/plugins/hid/otg/__init__.py @@ -28,6 +28,7 @@ from typing import Optional from typing import Any from .... import aiomulti +from .... import usb from ....yamlconf import Option @@ -38,7 +39,6 @@ from ....validators.os import valid_abs_path from .. import BaseHid -from .usb import UsbDeviceController from .keyboard import KeyboardProcess from .mouse import MouseProcess @@ -56,7 +56,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes self.__notifier = aiomulti.AioProcessNotifier() - self.__udc = UsbDeviceController(udc) + self.__udc = usb.UsbDeviceController(udc) win98_fix = mouse.pop("absolute_win98_fix") common = { |