I have an 4x4 HDMI matrix which has a web interface allowing me to change the "scenes" of what HDMI IN is linked to what HDMI OUT. I can control the scenes using JavaS