summaryrefslogtreecommitdiff
path: root/dispatcherfw.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-05-11 13:15:18 -0500
committercheapie <no-email-for-you@example.com>2024-05-11 13:15:18 -0500
commit9aa2b736c1a44dfbbb086d63c11b89167c23350b (patch)
treeac050ca7dc15667a6985381369a8d29a66ee45e5 /dispatcherfw.lua
parent1435944ad65abb21e340802fba0a011512e5cd91 (diff)
downloadcelevator-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.lua6
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