diff options
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/otg/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py index 456f35dd..a54a8b0e 100644 --- a/kvmd/apps/otg/__init__.py +++ b/kvmd/apps/otg/__init__.py @@ -212,6 +212,12 @@ def _cmd_start(config: Section) -> None: absolute=config.kvmd.hid.mouse.absolute, horizontal_wheel=config.kvmd.hid.mouse.horizontal_wheel, )) + if config.kvmd.hid.mouse_alt.device: + logger.info("===== Required HID-Mouse ALT =====") + _create_hid(gadget_path, config_path, 2, make_mouse_hid( + absolute=(not config.kvmd.hid.mouse.absolute), + horizontal_wheel=config.kvmd.hid.mouse_alt.horizontal_wheel, + )) if config.kvmd.msd.type == "otg": logger.info("===== Required MSD =====") |