dblume commited on 2023-02-15 21:22:18
Showing 2 changed files, with 6 additions and 2 deletions.
... | ... |
@@ -63,6 +63,10 @@ function executeTask() as void |
63 | 63 |
deviceInfo.SetMessagePort(port) |
64 | 64 |
input = CreateObject("roInput") |
65 | 65 |
input.SetMessagePort(port) |
66 |
+ cecstatus = CreateObject("roCECStatus") |
|
67 |
+ cecStatus.SetMessagePort(port) |
|
68 |
+ hdmistatus = CreateObject("roHDMIStatus") |
|
69 |
+ hdmistatus.SetMessagePort(port) |
|
66 | 70 |
|
67 | 71 |
success = deviceInfo.EnableLinkStatusEvent(true) |
68 | 72 |
if not success m.top.updateTextLower = "EnableLinkStatusEvent failure" |
... | ... |
@@ -88,7 +92,7 @@ function executeTask() as void |
88 | 92 |
elseif msgType = "roCECStatusEvent" |
89 | 93 |
aa = msg.GetInfo() |
90 | 94 |
v = aa.LookupCI("Active") |
91 |
- if v <> invalid then m.top.updateTextLower = dt + " CEC Status " + v.toStr() |
|
95 |
+ if v <> invalid then m.top.updateTextLower = dt + " CEC Active " + v.toStr() |
|
92 | 96 |
elseif msgType = "roDeviceInfoEvent" |
93 | 97 |
aa = msg.GetInfo() |
94 | 98 |
v = aa.LookupCI("Mute") |