diff options
author | cheapie <no-email-for-you@example.com> | 2024-05-11 13:15:18 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-05-11 13:15:18 -0500 |
commit | 9aa2b736c1a44dfbbb086d63c11b89167c23350b (patch) | |
tree | ac050ca7dc15667a6985381369a8d29a66ee45e5 /dispatcherfw.lua | |
parent | 1435944ad65abb21e340802fba0a011512e5cd91 (diff) | |
download | celevator-9aa2b736c1a44dfbbb086d63c11b89167c23350b.tar celevator-9aa2b736c1a44dfbbb086d63c11b89167c23350b.tar.gz celevator-9aa2b736c1a44dfbbb086d63c11b89167c23350b.tar.bz2 celevator-9aa2b736c1a44dfbbb086d63c11b89167c23350b.tar.xz celevator-9aa2b736c1a44dfbbb086d63c11b89167c23350b.zip |
Add dispatcher support to mesecons I/O
Diffstat (limited to 'dispatcherfw.lua')
-rw-r--r-- | dispatcherfw.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dispatcherfw.lua b/dispatcherfw.lua index bb609d5..d4e0889 100644 --- a/dispatcherfw.lua +++ b/dispatcherfw.lua @@ -790,6 +790,12 @@ elseif event.type == "fs1switch" then elseif event.iid == "sleep" and mem.powerstate == "timing" then interrupt(nil,"run") mem.powerstate = "asleep" +elseif event.type == "remotemsg" then + if event.channel == "upcall" then + mem.upcalls[event.msg] = true + elseif event.channel == "dncall" then + mem.dncalls[event.msg] = true + end end if not (mem.screenstate == "status" or mem.screenstate == "menu") then |