Seriously, I'd love to see this. I have had mixed results with udev and no idea where to start to send an input switch command to my monitor.
[0] https://github.com/olavmrk/usb-libvirt-hotplug/blob/master/u...
[1] https://gist.github.com/4ab23675ab69162934ce75b52bd1d290