fix: use monitor.vcp.set_vcp_feature (monitorcontrol v4 API), fix monitor indices 1+2

This commit is contained in:
Miłosz Matysiak
2026-04-09 10:25:21 +02:00
parent 05a96e29e4
commit 5dcdfa5221
4 changed files with 31 additions and 17 deletions

View File

@@ -6,8 +6,14 @@
"name": "PC1 — DP",
"hotkey": "ctrl+alt+1",
"monitor_inputs": [
{"monitor_index": 0, "vcp_value": 15},
{"monitor_index": 1, "vcp_value": 15}
{
"monitor_index": 1,
"vcp_value": 15
},
{
"monitor_index": 2,
"vcp_value": 15
}
]
},
{
@@ -15,8 +21,14 @@
"name": "PC2 — HDMI",
"hotkey": "ctrl+alt+2",
"monitor_inputs": [
{"monitor_index": 0, "vcp_value": 17},
{"monitor_index": 1, "vcp_value": 17}
{
"monitor_index": 1,
"vcp_value": 17
},
{
"monitor_index": 2,
"vcp_value": 17
}
]
}
],
@@ -41,4 +53,4 @@
"minimize_to_tray": true,
"debounce_ms": 500
}
}
}