"[la] {logical address} change the logical address of the CEC adapter." << endl <<
"[p] {device} {port} change the HDMI port number of the CEC adapter." << endl <<
"[pa] {physical address} change the physical address of the CEC adapter." << endl <<
+ "[as] make the CEC adapter the active source." << endl <<
"[osd] {addr} {string} set OSD message on the specified device." << endl <<
"[ver] {addr} get the CEC version of the specified device." << endl <<
"[ven] {addr} get the vendor ID of the specified device." << endl <<
return false;
}
+bool ProcessCommandAS(ICECAdapter *parser, const string &command, string &arguments)
+{
+ if (command == "as")
+ {
+ parser->SetActiveView();
+ return true;
+ }
+
+ return false;
+}
+
+
bool ProcessCommandPING(ICECAdapter *parser, const string &command, string &arguments)
{
if (command == "ping")
ProcessCommandLA(parser, command, input) ||
ProcessCommandP(parser, command, input) ||
ProcessCommandPA(parser, command, input) ||
+ ProcessCommandAS(parser, command, input) ||
ProcessCommandOSD(parser, command, input) ||
ProcessCommandPING(parser, command, input) ||
ProcessCommandVOLUP(parser, command, input) ||