From a4837c1172efe2d657e13e21d422d359969689f0 Mon Sep 17 00:00:00 2001 From: Lago Date: Fri, 27 Mar 2026 15:43:44 +0100 Subject: [PATCH] Accept DP2 trigger codes 19 and 16 --- README.md | 2 +- app/config.py | 2 +- static/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 818bd02..c6e61bd 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Configure only one value per machine: Samsung trigger input codes mapped by port: - `DP1` -> `15` -- `DP2` -> `19` +- `DP2` -> `19` (or `16` on some setups) - `HDMI` -> `17` - If Samsung trigger input matches this device port code, the app runs `monitor.set_input_source()` on `AW3423DWF` via `monitorcontrol`. diff --git a/app/config.py b/app/config.py index 4f5f28d..87e13d8 100644 --- a/app/config.py +++ b/app/config.py @@ -10,7 +10,7 @@ PROJECT_ROOT = Path(__file__).resolve().parent.parent CONFIG_PATH = PROJECT_ROOT / "config.json" SUPPORTED_TARGET_PORTS = { "DP1": {"ddm_input": "DP1", "input_codes": {15}}, - "DP2": {"ddm_input": "DP2", "input_codes": {19}}, + "DP2": {"ddm_input": "DP2", "input_codes": {19, 16}}, "HDMI": {"ddm_input": "HDMI", "input_codes": {17}}, } diff --git a/static/index.html b/static/index.html index ee51617..71477e4 100644 --- a/static/index.html +++ b/static/index.html @@ -250,7 +250,7 @@

Alienware-Only Targeting

Internal KVM Switch Dashboard

- Samsung is trigger-only. This device switches Alienware AW3423DWF when Samsung input matches the configured local port code: DP1 = 15, DP2 = 19, HDMI = 17. + Samsung is trigger-only. This device switches Alienware AW3423DWF when Samsung input matches the configured local port code: DP1 = 15, DP2 = 19 (or 16 on some setups), HDMI = 17.