shuzhi.zone

Software Input Switching for the LG 28MQ780 on Windows

Update (2026-10-02): I’ve since built tarsier, a tray app that wraps this whole flow in a hotkey. It handles the LG private channel automatically, adds brightness control. If you want a permanent solution rather than a bare command-line call, that’s the place to start.


My LG 28MQ780 is connected to two computers and I want to toggle its input with a single keyboard shortcut.

I installed OnScreen Control and Dual Controller from LG’s site; neither exposes a hotkey to switch inputs.

Previously I used Dell Display and Peripheral Manager on a Dell monitor, which works perfectly but is limited to Dell hardware.

ControlMyMonitor does not work — the 28MQ780 does not respond to the standard VCP code 0x60 for input selection 1.

Solution

Thankfully, I can use kaleb422/NVapi-write-value-to-monitor: Send commands to monitor over i2c using NVapi to control the monitor with commands.

For instance, .\writeValueToDisplay.exe 0 0xD2 0xF4 0x50, means sending command oxF4(Switch input) with value 0xD2(MONITOR_USB_C) to the I²C address 0x50, you can find more commands and values here.

Footnotes

  1. Switching input source on LG monitors · rockowitz/ddcutil Wiki ↩