diff options
-rw-r--r-- | kvmd/apps/__init__.py | 3 | ||||
-rw-r--r-- | kvmd/apps/otg/__init__.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 7357307f..a7e0e9c1 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -581,6 +581,9 @@ def _get_config_scheme() -> dict: "mouse": { "start": Option(True, type=valid_bool), }, + "mouse_alt": { + "start": Option(True, type=valid_bool), + }, }, "msd": { diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py index b683c5fd..6a08da9d 100644 --- a/kvmd/apps/otg/__init__.py +++ b/kvmd/apps/otg/__init__.py @@ -262,7 +262,7 @@ def _cmd_start(config: Section) -> None: # pylint: disable=too-many-statements, gc.add_mouse(cod.hid.mouse.start, config.otg.remote_wakeup, config.kvmd.hid.mouse.absolute, config.kvmd.hid.mouse.horizontal_wheel) if config.kvmd.hid.mouse_alt.device: logger.info("===== HID-Mouse-Alt =====") - gc.add_mouse(cod.hid.mouse.start, config.otg.remote_wakeup, (not config.kvmd.hid.mouse.absolute), config.kvmd.hid.mouse.horizontal_wheel) + gc.add_mouse(cod.hid.mouse_alt.start, config.otg.remote_wakeup, (not config.kvmd.hid.mouse.absolute), config.kvmd.hid.mouse.horizontal_wheel) if config.kvmd.msd.type == "otg": logger.info("===== MSD =====") |