fiddyschmitt / SimpleKVM

Use multiple computers using one set of monitors, mouse and keyboard
805 stars 15 forks source link

Allow for numerical input selection instead of by name #4

Open oliversscripts opened 2 years ago

oliversscripts commented 2 years ago

One of my monitors (Gigabyte M32U) does not provide the correct list of inputs to select from - It has a Type C, DisplayPort and two HDMI inputs but displays VGA, DVI, DisplayPort & HDMI as possible options in the picklist. I have the same issue with ControlMyMonitor but am able to pass the numerical input value (i.e. 15, 16, 17 & 18) instead which works for all four inputs on the monitor.

Would it be possible to override the input selection with a numerical value instead?

fiddyschmitt commented 2 years ago

Hi Oliver, thanks for reporting this. I'll think of a way to handle inputs for modern monitors like yours.

In the meantime, you could edit rules.json (in the same folder as the exe) and set the SetMonitorSourceIdTo value to the numeric number you desire.

Cheers, Fidel