Software Input Switching for the LG 28MQ780 on Windows

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